public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: heiko@sntech.de
Cc: ukleinek@debian.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 00/14] Expand available features on Qnap TS433
Date: Sun, 21 Jul 2024 19:37:09 +0200	[thread overview]
Message-ID: <20240721173723.919961-1-heiko@sntech.de> (raw)

Thanks to the nicely supported rk3568, the hardest part for adding things,
is to pull things from the vendor-kernel and translating them to mainline
standards.

This series allows the TS433 to use all 4 bays [0], wiggle some LEDs and
access devices connected to all 3 usb ports.

The device runs stable now and might be usable for actual usage.

There is still a todo-list though:
- the ethernet mac address for the realtek chip seems correct,
  but the gmac0 interface currently uses a wrong one
- i2cdetect reports devices on i2c-1 on addresses 54,55,56,57
  model_Q0B20_Q0B30_10_10.conf from the original rescue image labels them
    VPD_MB = I2C:0x54, VPD_BP = I2C:0x56
  the meaning currently being unknown. Some eeprom maybe?
- The regulator tree is slightly dubious. Everthing seems to follow rk3568
  reference designs, but especially the regulator labeled vcc3v3_sd
  seems to supply some PCIe functionality. So I guess the device's
  schematics will look quite different than the regulators added to the
  vendor devicetree.
- Quite a bit of functionality is provided by the MCU connected to uart0.
  According to the model.conf there should be fan-control, a number of
  additional LEDs (status,locate,usb?)


Thanks to Qnap engineers adding an easily accessible header for maskrom
mode on the board, replacing the bootloader is also quite a breeze. A
branch on top of today's u-boot master branch can be found on [1]. I'll
submit that code to u-boot once I can cherry-pick the dts patches.


changes in v2:
- add patches for tsadc, gpio-keys, cpu-supply, pmic, gpu and io-domains


[0] I only have two drives right now, but I tested both the internal
sata connector as well as the PCIe connected sata controller in different
combinations.
[1] https://github.com/mmind/u-boot-rockchip/tree/dev/qnap-ts433/v2024.07


Heiko Stuebner (14):
  arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433
  arm64: dts: rockchip: enable second PCIe controller on the Qnap-TS433
  arm64: dts: rockchip: enable uart0 on Qnap-TS433
  arm64: dts: rockchip: enable usb ports on Qnap-TS433
  arm64: dts: rockchip: add stdout path on Qnap-TS433
  arm64: dts: rockchip: enable sata1+2 on Qnap-TS433
  arm64: dts: rockchip: add board-aliases for Qnap-TS433
  arm64: dts: rockchip: add hdd leds to Qnap-TS433
  arm64: dts: rockchip: enable the tsadc on the Qnap-TS433
  arm64: dts: rockchip: add gpio-keys to Qnap-TS433
  arm64: dts: rockchip: define cpu-supply on the Qnap-TS433
  arm64: dts: rockchip: add missing pmic information on Qnap-TS433
  arm64: dts: rockchip: enable gpu on Qnap-TS433
  arm64: dts: rockchip: add 2 pmu_io_domain supplies for Qnap-TS433

 .../boot/dts/rockchip/rk3568-qnap-ts433.dts   | 539 +++++++++++++++++-
 1 file changed, 536 insertions(+), 3 deletions(-)

-- 
2.39.2


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

             reply	other threads:[~2024-07-21 17:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-21 17:37 Heiko Stuebner [this message]
2024-07-21 17:37 ` [PATCH v2 01/14] arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 02/14] arm64: dts: rockchip: enable second PCIe controller on the Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 03/14] arm64: dts: rockchip: enable uart0 on Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 04/14] arm64: dts: rockchip: enable usb ports " Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 05/14] arm64: dts: rockchip: add stdout path " Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 06/14] arm64: dts: rockchip: enable sata1+2 " Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 07/14] arm64: dts: rockchip: add board-aliases for Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 08/14] arm64: dts: rockchip: add hdd leds to Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 09/14] arm64: dts: rockchip: enable the tsadc on the Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 10/14] arm64: dts: rockchip: add gpio-keys to Qnap-TS433 Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 11/14] arm64: dts: rockchip: define cpu-supply on the Qnap-TS433 Heiko Stuebner
2024-07-21 17:44   ` Heiko Stübner
2024-07-21 17:37 ` [PATCH v2 12/14] arm64: dts: rockchip: add missing pmic information on Qnap-TS433 Heiko Stuebner
2024-07-21 17:45   ` Heiko Stübner
2024-07-21 17:37 ` [PATCH v2 13/14] arm64: dts: rockchip: enable gpu " Heiko Stuebner
2024-07-21 17:37 ` [PATCH v2 14/14] arm64: dts: rockchip: add 2 pmu_io_domain supplies for Qnap-TS433 Heiko Stuebner
2024-07-22 15:20 ` [PATCH v2 00/14] Expand available features on Qnap TS433 Uwe Kleine-König
2024-07-23  2:57 ` Rob Herring (Arm)
2024-07-23 10:03   ` Heiko Stübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240721173723.919961-1-heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=ukleinek@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox