Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Mans Rullgard and committed by
Maxime Ripard
b04138bf 0f960ce9

+18
+18
arch/arm/boot/dts/sunxi-h3-h5.dtsi
··· 913 913 #size-cells = <0>; 914 914 }; 915 915 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 + 916 929 r_pio: pinctrl@1f02c00 { 917 930 compatible = "allwinner,sun8i-h3-r-pinctrl"; 918 931 reg = <0x01f02c00 0x400>; ··· 951 938 r_pwm_pin: r-pwm-pin { 952 939 pins = "PL10"; 953 940 function = "s_pwm"; 941 + }; 942 + 943 + r_uart_pins: r-uart-pins { 944 + pins = "PL2", "PL3"; 945 + function = "s_uart"; 954 946 }; 955 947 }; 956 948