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:
parent
8a39122d16
commit
c2c39bb79f
12
sys/dts/arm/overlays/sun8i-h3-i2c0.dtso
Normal file
12
sys/dts/arm/overlays/sun8i-h3-i2c0.dtso
Normal file
@ -0,0 +1,12 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun8i-h3";
|
||||
};
|
||||
|
||||
&{/soc/i2c@1c2ac00} {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_pins>;
|
||||
};
|
@ -24,6 +24,7 @@ DTS= \
|
||||
sun8i-h3-orangepi-plus2e.dts
|
||||
|
||||
DTSO= sun8i-a83t-sid.dtso \
|
||||
sun8i-h3-i2c0.dtso \
|
||||
sun8i-h3-sid.dtso
|
||||
|
||||
LINKS= \
|
||||
|
Loading…
x
Reference in New Issue
Block a user