dtso: allwinner: Add an overlay for H3 i2c0

Most of the H3 boards don't enable i2c as it is unused.
Add an overlay so it's easier for user to use i2c device.
This commit is contained in:
manu 2019-07-20 17:42:46 +00:00
parent 8a39122d16
commit c2c39bb79f
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
};
&{/soc/i2c@1c2ac00} {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
};

View File

@ -24,6 +24,7 @@ DTS= \
sun8i-h3-orangepi-plus2e.dts
DTSO= sun8i-a83t-sid.dtso \
sun8i-h3-i2c0.dtso \
sun8i-h3-sid.dtso
LINKS= \