forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
general: extra: meson64 overlays:
radxa zero
(armbian#5860)
* general: extra: meson64 overlays: `radxa zero` Radxa Zero: Add overlays for serial i2c and spi. BPI-M2S/M5: Add RTL8822CS overlays for each unit. Signed-off-by: Patrick Yavitz <[email protected]> * v2: general: extra: meson64 overlays: `radxa zero` compatible = "armbian,spi-dev"; Signed-off-by: Patrick Yavitz <[email protected]> --------- Signed-off-by: Patrick Yavitz <[email protected]> Co-authored-by: Patrick Yavitz <[email protected]>
- Loading branch information
Showing
29 changed files
with
798 additions
and
21 deletions.
There are no files selected for viewing
361 changes: 342 additions & 19 deletions
361
patch/kernel/archive/meson64-6.1/general-xtra-meson64-overlays.patch
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-i2c-ao-m0-gpioao-2-gpioao-3.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c_AO>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c_ao_sck_pins &i2c_ao_sda_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-i2c-ee-m1-gpioh-6-gpioh-7.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c1>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c1_sda_h6_pins &i2c1_sck_h7_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-i2c-ee-m1-gpiox-10-gpiox-11.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c1>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c1_sda_x_pins &i2c1_sck_x_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-i2c-ee-m3-gpioa-14-gpioa-15.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c3>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c3_sck_a_pins &i2c3_sda_a_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-pwm-c-on-gpiox-8.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&pwm_cd>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_c_x8_pins>; | ||
pinctrl-names = "default"; | ||
clocks = <&xtal>; | ||
clock-names = "clkin2"; | ||
}; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-pwmao-a-on-gpioao-11.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&pwm_AO_ab>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_ao_a_pins>; | ||
pinctrl-names = "default"; | ||
clocks = <&xtal>; | ||
clock-names = "clkin3"; | ||
}; | ||
}; | ||
}; |
38 changes: 38 additions & 0 deletions
38
patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-spi-spidev.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&spicc0>; | ||
__overlay__ { | ||
pinctrl-0 = <&spicc0_x_pins &spicc0_ss0_x_pins>; | ||
pinctrl-names = "default"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
spidev@0 { | ||
compatible = "armbian,spi-dev"; | ||
status = "disabled"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&spicc1>; | ||
__overlay__ { | ||
pinctrl-0 = <&spicc1_pins &spicc1_ss0_pins>; | ||
pinctrl-names = "default"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
spidev@0 { | ||
compatible = "armbian,spi-dev"; | ||
status = "disabled"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
...rnel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-uart-ao-a-on-gpioao-0-gpioao-1.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&uart_AO>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&uart_ao_a_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
...rnel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-uart-ao-b-on-gpioao-2-gpioao-3.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&uart_AO_B>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&uart_ao_b_2_3_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
...rnel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-uart-ao-b-on-gpioao-8-gpioao-9.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&uart_AO_B>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&uart_ao_b_8_9_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-uart-ee-c.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&uart_C>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&uart_c_pins &uart_c_cts_rts_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-i2c-ao-m0-gpioao-2-gpioao-3.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c_AO>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c_ao_sck_pins &i2c_ao_sda_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
patch/kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-i2c-ee-m1-gpioh-6-gpioh-7.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c1>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c1_sda_h6_pins &i2c1_sck_h7_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-i2c-ee-m1-gpiox-10-gpiox-11.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c1>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c1_sda_x_pins &i2c1_sck_x_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
.../kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-i2c-ee-m3-gpioa-14-gpioa-15.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&i2c3>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c3_sck_a_pins &i2c3_sda_a_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
patch/kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-pwm-c-on-gpiox-8.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&pwm_cd>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_c_x8_pins>; | ||
pinctrl-names = "default"; | ||
clocks = <&xtal>; | ||
clock-names = "clkin2"; | ||
}; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
patch/kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-pwmao-a-on-gpioao-11.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&pwm_AO_ab>; | ||
__overlay__ { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_ao_a_pins>; | ||
pinctrl-names = "default"; | ||
clocks = <&xtal>; | ||
clock-names = "clkin3"; | ||
}; | ||
}; | ||
}; |
38 changes: 38 additions & 0 deletions
38
patch/kernel/archive/meson64-6.6/overlay/meson-g12a-radxa-zero-spi-spidev.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "radxa,zero", "amlogic,g12a"; | ||
|
||
fragment@0 { | ||
target = <&spicc0>; | ||
__overlay__ { | ||
pinctrl-0 = <&spicc0_x_pins &spicc0_ss0_x_pins>; | ||
pinctrl-names = "default"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
spidev@0 { | ||
compatible = "armbian,spi-dev"; | ||
status = "disabled"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&spicc1>; | ||
__overlay__ { | ||
pinctrl-0 = <&spicc1_pins &spicc1_ss0_pins>; | ||
pinctrl-names = "default"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
spidev@0 { | ||
compatible = "armbian,spi-dev"; | ||
status = "disabled"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.