add new H6 overlays for UARTs and I2Cs

This commit is contained in:
Martin Ayotte
2018-11-13 15:08:34 -05:00
parent 3db678af0d
commit 1d54866a15
6 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
i2c0 = "/soc/i2c@5002000";
};
};
fragment@1 {
target = <&i2c0>;
__overlay__ {
status = "okay";
};
};
};

View File

@@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
i2c1 = "/soc/i2c@5002400";
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
status = "okay";
};
};
};

View File

@@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
i2c2 = "/soc/i2c@5002800";
};
};
fragment@1 {
target = <&i2c2>;
__overlay__ {
status = "okay";
};
};
};

View File

@@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial1 = "/soc/serial@5000400";
};
};
fragment@1 {
target = <&uart1>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
status = "okay";
};
};
};

View File

@@ -0,0 +1,32 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
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";
};
};
};

View File

@@ -0,0 +1,32 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial3 = "/soc/serial@05000c00";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart3_rts_cts: uart3_rts_cts {
pins = "PD25", "PD26";
function = "uart3";
};
};
};
fragment@2 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
status = "okay";
};
};
};