meta-sunxi/recipes-bsp/sunxi-overlays/files/sun50i-h616/h616-uart2.dts
ludiazv cddadc1f4b DT overlay support
Experimental feature to include DT overlays and custom boot args
2023-05-30 13:27:31 +02:00

33 lines
463 B
Plaintext

/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial2 = "/soc/serial@5000800";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart2_rts_cts: uart2_rts_cts {
pins = "PD21", "PD22";
function = "uart2";
};
};
};
fragment@2 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
status = "okay";
};
};
};