* [PATCH 2/8] arm64: dts: rockchip: Add microSD card for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 3/8] arm64: dts: rockchip: Enable SATA " Jagan Teki
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add sdmmc support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
.../boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index e9d5a8bab581..7f9e2c750287 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -21,6 +21,19 @@ chosen {
};
};
+&sdmmc {
+ no-sdio;
+ no-mmc;
+ bus-width = <4>;
+ cap-mmc-highspeed;
+ cap-sd-highspeed;
+ disable-wp;
+ sd-uhs-sdr104;
+ vmmc-supply = <&vcc_3v3_s3>;
+ vqmmc-supply = <&vccio_sd_s0>;
+ status = "okay";
+};
+
&uart2 {
pinctrl-0 = <&uart2m0_xfer>;
status = "okay";
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 3/8] arm64: dts: rockchip: Enable SATA for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
2023-07-13 14:39 ` [PATCH 2/8] arm64: dts: rockchip: Add microSD card " Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY Jagan Teki
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add SATA support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index 7f9e2c750287..0b6f32e9b820 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -21,6 +21,14 @@ chosen {
};
};
+&combphy0_ps {
+ status = "okay";
+};
+
+&sata0 {
+ status = "okay";
+};
+
&sdmmc {
no-sdio;
no-mmc;
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
2023-07-13 14:39 ` [PATCH 2/8] arm64: dts: rockchip: Add microSD card " Jagan Teki
2023-07-13 14:39 ` [PATCH 3/8] arm64: dts: rockchip: Enable SATA " Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Jagan Teki
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Rockchip RK3588 SoC has NaNeng IP PHY block used for PCIe, USB3, SATA
and SGMII.
Enable Rockchip NaNeng PHY driver.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 347307eb737f..4be8815c1d51 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1394,6 +1394,7 @@ CONFIG_PHY_ROCKCHIP_EMMC=y
CONFIG_PHY_ROCKCHIP_INNO_HDMI=m
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=m
+CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=m
CONFIG_PHY_ROCKCHIP_PCIE=m
CONFIG_PHY_ROCKCHIP_TYPEC=y
CONFIG_PHY_SAMSUNG_UFS=y
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
` (2 preceding siblings ...)
2023-07-13 14:39 ` [PATCH 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 6/8] arm64: dts: rockchip: Enable PWM FAN " Jagan Teki
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add RTC support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
.../dts/rockchip/rk3588-edgeble-neu6b-io.dts | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index 0b6f32e9b820..4a9f85d7542a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -25,6 +25,30 @@ &combphy0_ps {
status = "okay";
};
+&i2c6 {
+ status = "okay";
+
+ hym8563: rtc@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ #clock-cells = <0>;
+ clock-output-names = "hym8563";
+ pinctrl-names = "default";
+ pinctrl-0 = <&hym8563_int>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
+ wakeup-source;
+ };
+};
+
+&pinctrl {
+ hym8563 {
+ hym8563_int: hym8563-int {
+ rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+};
+
&sata0 {
status = "okay";
};
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 6/8] arm64: dts: rockchip: Enable PWM FAN for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
` (3 preceding siblings ...)
2023-07-13 14:39 ` [PATCH 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 7/8] arm64: dts: rockchip: Enable RS232 " Jagan Teki
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add PWM FAN support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index 4a9f85d7542a..7ce87366c16c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -49,6 +49,13 @@ hym8563_int: hym8563-int {
};
};
+/* FAN */
+&pwm2 {
+ pinctrl-0 = <&pwm2m1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
&sata0 {
status = "okay";
};
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 7/8] arm64: dts: rockchip: Enable RS232 for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
` (4 preceding siblings ...)
2023-07-13 14:39 ` [PATCH 6/8] arm64: dts: rockchip: Enable PWM FAN " Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-13 14:39 ` [PATCH 8/8] arm64: dts: rockchip: Enable RS485 " Jagan Teki
2023-07-14 15:39 ` [PATCH 1/8] arm64: dts: rockchip: Add PMIC " Heiko Stuebner
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add RS232 support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index 7ce87366c16c..1bcd64680ff0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -77,3 +77,10 @@ &uart2 {
pinctrl-0 = <&uart2m0_xfer>;
status = "okay";
};
+
+/* RS232 */
+&uart6 {
+ pinctrl-0 = <&uart6m0_xfer>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 8/8] arm64: dts: rockchip: Enable RS485 for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
` (5 preceding siblings ...)
2023-07-13 14:39 ` [PATCH 7/8] arm64: dts: rockchip: Enable RS232 " Jagan Teki
@ 2023-07-13 14:39 ` Jagan Teki
2023-07-14 15:39 ` [PATCH 1/8] arm64: dts: rockchip: Add PMIC " Heiko Stuebner
7 siblings, 0 replies; 9+ messages in thread
From: Jagan Teki @ 2023-07-13 14:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, linux-arm-kernel, linux-rockchip, Jagan Teki
Add RS485 support for Edgeble Neu6B NCM IO board.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
index 1bcd64680ff0..72b0e5150155 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
@@ -84,3 +84,10 @@ &uart6 {
pinctrl-names = "default";
status = "okay";
};
+
+/* RS485 */
+&uart7 {
+ pinctrl-0 = <&uart7m2_xfer>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b
2023-07-13 14:39 [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Jagan Teki
` (6 preceding siblings ...)
2023-07-13 14:39 ` [PATCH 8/8] arm64: dts: rockchip: Enable RS485 " Jagan Teki
@ 2023-07-14 15:39 ` Heiko Stuebner
7 siblings, 0 replies; 9+ messages in thread
From: Heiko Stuebner @ 2023-07-14 15:39 UTC (permalink / raw)
To: Jagan Teki, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Heiko Stuebner, linux-arm-kernel, devicetree, linux-rockchip
On Thu, 13 Jul 2023 20:09:34 +0530, Jagan Teki wrote:
> This adds PMIC support for the Edgeble Neu6B NCM.
>
>
Applied, thanks!
With a bit of reordering and adding the missing "-regulator"
to one node in the first patch.
[1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b
commit: 0d3f385d71cd9ed710ff5a0fd76c0d94c41edcae
[2/8] arm64: dts: rockchip: Add microSD card for edgeble-neu6b
commit: 61808d9341338dc1041a9349a75984943cb1c8cb
[3/8] arm64: dts: rockchip: Enable SATA for edgeble-neu6b
commit: 89f713b0590185c3d6f1afdd66791cccc74d54bb
[4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY
commit: ccc1b7ee2eb4021506838c5f12a8055955332357
[5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b
commit: 8f3aa4f7086e998cf14f7802c0a9265402847f7d
[6/8] arm64: dts: rockchip: Enable PWM FAN for edgeble-neu6b
commit: b65814bfb8b329f95408142f1fa8d50072dedc2a
[7/8] arm64: dts: rockchip: Enable RS232 for edgeble-neu6b
commit: 9ee9ea88e6c47fd8e02ab999e18ae1b49eb47ce4
[8/8] arm64: dts: rockchip: Enable RS485 for edgeble-neu6b
commit: 9b9fb10b9d4dc08da2d0f9a2ac4a53e6a2e7ebb8
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 9+ messages in thread