devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b
@ 2023-07-13 14:39 Jagan Teki
  2023-07-13 14:39 ` [PATCH 2/8] arm64: dts: rockchip: Add microSD card " Jagan Teki
                   ` (7 more replies)
  0 siblings, 8 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

This adds PMIC support for the Edgeble Neu6B NCM.

Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
 .../dts/rockchip/rk3588-edgeble-neu6b.dtsi    | 360 ++++++++++++++++++
 1 file changed, 360 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi
index 4a87ead15b3f..db7656617bdf 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi
@@ -18,6 +18,42 @@ vcc12v_dcin: vcc12v-dcin-regulator {
 		regulator-min-microvolt = <12000000>;
 		regulator-max-microvolt = <12000000>;
 	};
+
+	vcc5v0_sys: vcc5v0-sys {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc5v0_sys";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		vin-supply = <&vcc12v_dcin>;
+	};
+
+	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_1v1_nldo_s3";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <1100000>;
+		regulator-max-microvolt = <1100000>;
+		vin-supply = <&vcc5v0_sys>;
+	};
+};
+
+&cpu_l0 {
+	cpu-supply = <&vdd_cpu_lit_s0>;
+};
+
+&cpu_l1 {
+	cpu-supply = <&vdd_cpu_lit_s0>;
+};
+
+&cpu_l2 {
+	cpu-supply = <&vdd_cpu_lit_s0>;
+};
+
+&cpu_l3 {
+	cpu-supply = <&vdd_cpu_lit_s0>;
 };
 
 &sdhci {
@@ -29,3 +65,327 @@ &sdhci {
 	mmc-hs400-enhanced-strobe;
 	status = "okay";
 };
+
+&spi2 {
+	status = "okay";
+	assigned-clocks = <&cru CLK_SPI2>;
+	assigned-clock-rates = <200000000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
+	num-cs = <1>;
+
+	pmic@0 {
+		compatible = "rockchip,rk806";
+		spi-max-frequency = <1000000>;
+		reg = <0x0>;
+
+		interrupt-parent = <&gpio0>;
+		interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
+			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
+
+		vcc1-supply = <&vcc5v0_sys>;
+		vcc2-supply = <&vcc5v0_sys>;
+		vcc3-supply = <&vcc5v0_sys>;
+		vcc4-supply = <&vcc5v0_sys>;
+		vcc5-supply = <&vcc5v0_sys>;
+		vcc6-supply = <&vcc5v0_sys>;
+		vcc7-supply = <&vcc5v0_sys>;
+		vcc8-supply = <&vcc5v0_sys>;
+		vcc9-supply = <&vcc5v0_sys>;
+		vcc10-supply = <&vcc5v0_sys>;
+		vcc11-supply = <&vcc_2v0_pldo_s3>;
+		vcc12-supply = <&vcc5v0_sys>;
+		vcc13-supply = <&vcc_1v1_nldo_s3>;
+		vcc14-supply = <&vcc_1v1_nldo_s3>;
+		vcca-supply = <&vcc5v0_sys>;
+
+		gpio-controller;
+		#gpio-cells = <2>;
+
+		rk806_dvs1_null: dvs1-null-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun0";
+		};
+
+		rk806_dvs2_null: dvs2-null-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun0";
+		};
+
+		rk806_dvs3_null: dvs3-null-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun0";
+		};
+
+		regulators {
+			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_gpu_s0";
+				regulator-enable-ramp-delay = <400>;
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_cpu_lit_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_log_s0: dcdc-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <675000>;
+				regulator-max-microvolt = <750000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_log_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <750000>;
+				};
+			};
+
+			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-init-microvolt = <750000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_vdenc_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_ddr_s0: dcdc-reg5 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <675000>;
+				regulator-max-microvolt = <900000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_ddr_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <850000>;
+				};
+			};
+
+			vdd2_ddr_s3: dcdc-reg6 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-name = "vdd2_ddr_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+				};
+			};
+
+			vcc_2v0_pldo_s3: dcdc-reg7 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <2000000>;
+				regulator-max-microvolt = <2000000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_2v0_pldo_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <2000000>;
+				};
+			};
+
+			vcc_3v3_s3: dcdc-reg8 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <3300000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-name = "vcc_3v3_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <3300000>;
+				};
+			};
+
+			vddq_ddr_s0: dcdc-reg9 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-name = "vddq_ddr_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcc_1v8_s3: dcdc-reg10 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcc_1v8_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <1800000>;
+				};
+			};
+
+			avcc_1v8_s0: pldo-reg1 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "avcc_1v8_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcc_1v8_s0: pldo-reg2 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcc_1v8_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <1800000>;
+				};
+			};
+
+			avdd_1v2_s0: pldo-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1200000>;
+				regulator-max-microvolt = <1200000>;
+				regulator-name = "avdd_1v2_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcc_3v3_s0: pldo-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <3300000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vcc_3v3_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vccio_sd_s0: pldo-reg5 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vccio_sd_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			pldo6_s3: pldo-reg6 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "pldo6_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <1800000>;
+				};
+			};
+
+			vdd_0v75_s3: nldo-reg1 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <750000>;
+				regulator-max-microvolt = <750000>;
+				regulator-name = "vdd_0v75_s3";
+
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <750000>;
+				};
+			};
+
+			vdd_ddr_pll_s0: nldo-reg2 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <850000>;
+				regulator-max-microvolt = <850000>;
+				regulator-name = "vdd_ddr_pll_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <850000>;
+				};
+			};
+
+			avdd_0v75_s0: nldo-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <750000>;
+				regulator-max-microvolt = <750000>;
+				regulator-name = "avdd_0v75_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_0v85_s0: nldo-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <850000>;
+				regulator-max-microvolt = <850000>;
+				regulator-name = "vdd_0v85_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_0v75_s0: nldo-reg5 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <750000>;
+				regulator-max-microvolt = <750000>;
+				regulator-name = "vdd_0v75_s0";
+
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+		};
+	};
+};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [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

end of thread, other threads:[~2023-07-14 15:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY Jagan Teki
2023-07-13 14:39 ` [PATCH 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Jagan Teki
2023-07-13 14:39 ` [PATCH 6/8] arm64: dts: rockchip: Enable PWM FAN " Jagan Teki
2023-07-13 14:39 ` [PATCH 7/8] arm64: dts: rockchip: Enable RS232 " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).