mirror of
https://github.com/armbian/build.git
synced 2025-08-09 20:56:57 +02:00
Adds i2c3, pwm1, pwdm2, spi0 and uart1 nodes to rk3568-odroid-m1.dts. Adds patch to remove spi-dev warning Adds patch with support for overlay compilation Adds DTS overlays for spi, uart0, uart1, pwm1, pwm2, pwm9, i2c0 and i2c1 Co-authored-by: jassuncao <joao.assuncao@exploitsys.com>
43 lines
971 B
Diff
43 lines
971 B
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
|
|
index 59ecf868d..a0d227fdd 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
|
|
@@ -742,3 +742,37 @@ vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
|
|
remote-endpoint = <&hdmi_in_vp0>;
|
|
};
|
|
};
|
|
+
|
|
+&i2c3 {
|
|
+ status = "disabled";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c3m1_xfer>;
|
|
+};
|
|
+
|
|
+&pwm1 {
|
|
+ status = "disabled";
|
|
+ pinctrl-0 = <&pwm1m1_pins>;
|
|
+};
|
|
+
|
|
+&pwm2 {
|
|
+ status = "disabled";
|
|
+ pinctrl-0 = <&pwm2m1_pins>;
|
|
+};
|
|
+
|
|
+&spi0 {
|
|
+ status = "disabled";
|
|
+
|
|
+ pinctrl-0 = <&spi0m1_pins>;
|
|
+ pinctrl-1 = <&spi0m1_pins_hs>;
|
|
+ num_chipselect = <1>;
|
|
+
|
|
+ cs-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_LOW>;
|
|
+};
|
|
+
|
|
+&uart1 {
|
|
+ status = "disabled";
|
|
+ dma-names = "tx", "rx";
|
|
+ /* uart1 uart1-with-ctsrts */
|
|
+ pinctrl-0 = <&uart1m1_xfer>;
|
|
+ pinctrl-1 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
|
|
+};
|