Skip to content

Commit b04138b

Browse files
mansrmripard
authored andcommitted
ARM: dts: sunxi: h3/h5: add r_uart node
There is an additional UART in the PL I/O block. Add a node and pinmux for it. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220112173327.26317-1-mans@mansr.com
1 parent 0f960ce commit b04138b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/arm/boot/dts/sunxi-h3-h5.dtsi

+18
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,19 @@
913913
#size-cells = <0>;
914914
};
915915

916+
r_uart: serial@1f02800 {
917+
compatible = "snps,dw-apb-uart";
918+
reg = <0x01f02800 0x400>;
919+
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
920+
reg-shift = <2>;
921+
reg-io-width = <4>;
922+
clocks = <&r_ccu CLK_APB0_UART>;
923+
resets = <&r_ccu RST_APB0_UART>;
924+
pinctrl-names = "default";
925+
pinctrl-0 = <&r_uart_pins>;
926+
status = "disabled";
927+
};
928+
916929
r_pio: pinctrl@1f02c00 {
917930
compatible = "allwinner,sun8i-h3-r-pinctrl";
918931
reg = <0x01f02c00 0x400>;
@@ -939,6 +952,11 @@
939952
pins = "PL10";
940953
function = "s_pwm";
941954
};
955+
956+
r_uart_pins: r-uart-pins {
957+
pins = "PL2", "PL3";
958+
function = "s_uart";
959+
};
942960
};
943961

944962
r_pwm: pwm@1f03800 {

0 commit comments

Comments
 (0)