fix broken r_uart pins

This commit is contained in:
Martin Ayotte 2019-12-05 15:29:24 -05:00
parent 0811a1cdf7
commit 5c9a7ee7fb

View file

@ -142,22 +142,10 @@ index dc785da9c..141fd186b 100644
uart0: serial@5000000 {
compatible = "snps,dw-apb-uart";
reg = <0x05000000 0x400>;
@@ -768,6 +904,29 @@
pins = "PL0", "PL1";
function = "s_i2c";
@@ -963,6 +1033,19 @@
};
+
+ r_ir_rx_pins: r-ir-rx-pins {
+ pins = "PL9";
+ function = "s_cir_rx";
+ };
+
+ r_uart_pins: r-uart-pins {
+ pins = "PL2", "PL3";
+ function = "s_uart";
+ };
+ };
+
};
+ r_uart: serial@7080000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x07080000 0x400>;
@ -169,6 +157,20 @@ index dc785da9c..141fd186b 100644
+ pinctrl-names = "default";
+ pinctrl-0 = <&r_uart_pins>;
+ status = "disabled";
+ };
+
rtc: rtc@7000000 {
compatible = "allwinner,sun50i-h6-rtc";
reg = <0x07000000 0x400>;
@@ -1021,6 +1104,11 @@
pins = "PL9";
function = "s_cir_rx";
};
+
+ r_uart_pins: r-uart-pins {
+ pins = "PL2", "PL3";
+ function = "s_uart";
+ };
};
r_i2c: i2c@7081400 {
r_ir: ir@7040000 {