arm64: dts: rockchip: helios64: SPI, tsadc, and stdout-path
Subsystems (2)
Dropped the USB patch from V1, this set enables the SPI flash and sets aliases, enables tsadc, and set stdout-path
Dennis
PATCH v2 1/3 arm64: dts: rockchip: helios64: set stdout-path
set the default output path to uart2
Signed-off-by Dennis Gilmore <[email protected]>
--- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +4 -0
@@ -43,6 +43,10 @@ avdd_1v8_s0: avdd-1v8-s0 { vin-supply = <&vcc3v3_sys_s3>; }; + chosen { + stdout-path = "serial2:1500000n8"; + }; + clkin_gmac: external-gmac-clock { compatible = "fixed-clock"; clock-frequency = <125000000>;
Signature · 1 line
2.31.1
Re: [PATCH v2 1/3] arm64: dts: rockchip: helios64: set stdout-path
Quoted 1 line · Dennis Gilmore
set the default output path to uart2
Applied, thanks!
[1/3] arm64: dts: rockchip: helios64: set stdout-path
commit: a1536b7fd2d75a6836094cfce513807f0b6f8b2c
[2/3] arm64: dts: rockchip: helios64: add SPI support
commit: 0ead44ed102d6391c9535395a99164fe44038b21
[3/3] arm64: dts: rockchip: helios64: enable tsadc on helios64
commit: ae2a8a1ed3283ebb5abe21be04773cebada16b9cBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>
PATCH v2 2/3 arm64: dts: rockchip: helios64: add SPI support
In reply to Dennis Gilmoreadd SPI support for the helios64, u-boot can live in spi1, spi2 is user accessible, spi5 is for the sata controller rom.
https://wiki.kobol.io/helios64/spi/
Signed-off-by Dennis Gilmore <[email protected]>
--- .../dts/rockchip/rk3399-kobol-helios64.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +24 -0
@@ -21,6 +21,9 @@ / { aliases { mmc0 = &sdmmc; mmc1 = &sdhci; + spi1 = &spi1; + spi2 = &spi2; + spi5 = &spi5; }; avdd_0v9_s0: avdd-0v9-s0 {
@@ -473,6 +476,27 @@ &sdmmc { status = "okay"; }; +&spi1 { + status = "okay"; + + spiflash: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0x0>; + spi-max-frequency = <25000000>; + status = "okay"; + m25p,fast-read; + }; +}; + +/* UEXT connector */ +&spi2 { + status = "okay"; +}; + +&spi5 { + status = "okay"; +}; + &tcphy1 { /* phy for &usbdrd_dwc3_1 */ status = "okay";
Signature · 1 line
2.31.1
PATCH v2 3/3 arm64: dts: rockchip: helios64: enable tsadc on helios64
In reply to Dennis GilmoreEnable the tsadc thermal controller on the helios64
Signed-off-by Dennis Gilmore <[email protected]>
--- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +8 -0
@@ -502,6 +502,14 @@ &tcphy1 { status = "okay"; }; +&tsadc { + /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-mode = <1>; + /* tshut polarity 0:LOW 1:HIGH */ + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; + &u2phy1 { status = "okay";
Signature · 1 line
2.31.1