You've already forked sunxi-DT-overlays
mirror of
https://github.com/armbian/sunxi-DT-overlays.git
synced 2026-01-06 10:14:43 -08:00
Add A20 I2S overlays
This commit is contained in:
@@ -24,6 +24,8 @@ I2C bus 0 is used for the AXP209 PMIC
|
||||
- i2c2
|
||||
- i2c3
|
||||
- i2c4
|
||||
- i2s0
|
||||
- i2s1
|
||||
- mmc2
|
||||
- nand
|
||||
- pps-gpio
|
||||
@@ -81,6 +83,18 @@ Activates TWI/I2C bus 4
|
||||
|
||||
I2C4 pins (SCL, SDA): PI2, PI3
|
||||
|
||||
### i2s0
|
||||
|
||||
Activates SoC I2S controller 0
|
||||
|
||||
I2S0 pins (MCLK, BCLK, LRCK, DO0, DO1, DO2, DO3, DI): PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12
|
||||
|
||||
### i2s1
|
||||
|
||||
Activates SoC I2S controller 1
|
||||
|
||||
I2S1 pins (MCLK, BCLK, LRCK, DO, DI): PA9, PA14, PA15, PA16, PA17
|
||||
|
||||
### mmc2
|
||||
|
||||
Activates SD/MMC controller 2. To be used on boards with second SD slot, eMMC
|
||||
|
||||
25
sun7i-a20/sun7i-a20-i2s0.dts
Normal file
25
sun7i-a20/sun7i-a20-i2s0.dts
Normal file
@@ -0,0 +1,25 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun7i-a20";
|
||||
|
||||
fragment@0 {
|
||||
target = <&pio>;
|
||||
__overlay__ {
|
||||
i2s0_pins: i2s0 {
|
||||
pins = "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12";
|
||||
function = "i2s0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <&i2s0>;
|
||||
__overlay__ {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2s0_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
25
sun7i-a20/sun7i-a20-i2s1.dts
Normal file
25
sun7i-a20/sun7i-a20-i2s1.dts
Normal file
@@ -0,0 +1,25 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun7i-a20";
|
||||
|
||||
fragment@0 {
|
||||
target = <&pio>;
|
||||
__overlay__ {
|
||||
i2s1_pins: i2s1 {
|
||||
pins = "PA9", "PA14", "PA15", "PA16", "PA17";
|
||||
function = "i2s1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <&i2s1>;
|
||||
__overlay__ {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2s1_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user