copy arm64 overlays

This commit is contained in:
EvilOlaf 2026-01-09 11:54:35 +00:00 committed by Werner
parent e8a8754a04
commit e082431348
100 changed files with 2522 additions and 0 deletions

View File

@ -0,0 +1,32 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
i2c0 = "/soc/i2c@1c2ac00";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
i2c0_pins: i2c0_pins {
pins = "PH0", "PH1";
function = "i2c0";
};
};
};
fragment@2 {
target = <&i2c0>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
i2c1 = "/soc/i2c@1c2b000";
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,87 @@
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pwm/pwm.h>
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target = <&reg_ldo_io0>;
__overlay__ {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-ctp";
status = "okay";
};
};
fragment@1 {
target = <&i2c0>;
__overlay__ {
status = "okay";
gt911: touchscreen@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
interrupt-parent = <&pio>;
interrupts = <7 4 IRQ_TYPE_EDGE_RISING>; /* PH4 */
reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
AVDD28-supply = <&reg_ldo_io0>;
};
};
};
fragment@2 {
target = <&r_pwm>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target-path = "/";
__overlay__ {
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&r_pwm 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <1 2 4 8 16 32 64 128 512>;
default-brightness-level = <8>;
enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
};
};
};
fragment@4 {
target = <&dsi>;
__overlay__ {
vcc-dsi-supply = <&reg_dldo1>;
status = "okay";
panel@0 {
compatible = "feiyang,fy07024di26a30d";
reg = <0>;
avdd-supply = <&reg_dc1sw>;
dvdd-supply = <&reg_dldo2>;
reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
backlight = <&backlight>;
};
};
};
fragment@5 {
target = <&dphy>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target = <&pio>;
__overlay__ {
pps_pins: pps_pins {
pins = "PD4";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
pps@0 {
compatible = "pps-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
gpios = <&pio 3 4 0>; /* PD4 */
status = "okay";
};
};
};
};

View File

@ -0,0 +1,41 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target = <&pio>;
__overlay__ {
spi0_cs1: spi0_cs1 {
pins = "PB6";
function = "gpio_out";
output-high;
};
spi1_cs1: spi1_cs1 {
pins = "PD6";
function = "gpio_out";
output-high;
};
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi0_cs1>;
cs-gpios = <0>, <&pio 1 6 0>; /* PB6 */
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi1_cs1>;
cs-gpios = <0>, <&pio 3 6 0>; /* PD6 */
};
};
};

View File

@ -0,0 +1,34 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@1c68000";
spi1 = "/soc/spi@1c69000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

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

View File

@ -0,0 +1,37 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial2 = "/soc/serial@1c28800";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart2_pins: uart2-pins {
pins = "PB0", "PB1";
function = "uart2";
};
uart2_rts_cts_pins: uart2-rts-cts-pins {
pins = "PB2", "PB3";
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-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial3 = "/soc/serial@1c28c00";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart3_pins: uart3-pins {
pins = "PD0", "PD1";
function = "uart3";
};
};
};
fragment@2 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,37 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial4 = "/soc/serial@1c29000";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart4_pins: uart4-pins {
pins = "PD2", "PD3";
function = "uart4";
};
uart4_rts_cts_pins: uart4-rts-cts-pins {
pins = "PD4", "PD5";
function = "uart4";
};
};
};
fragment@2 {
target = <&uart4>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
fragment@0 {
target = <&pio>;
__overlay__ {
w1_pins: w1_pins {
pins = "PD4";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
onewire@0 {
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&w1_pins>;
gpios = <&pio 3 4 0>; /* PD4 */
status = "okay";
};
};
};
};

View File

@ -0,0 +1,17 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&codec>;
__overlay__ {
allwinner,audio-routing =
"Line Out", "LINEOUT",
"MIC1", "Mic",
"Mic", "MBIAS";
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&ir>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&r_ir_rx_pin>;
status = "okay";
};
};
};

View File

@ -0,0 +1,31 @@
// DT overlay for CPU frequency operating points to up to 1.0GHz at a maximum CPU voltage of 1.1v
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&cpu_opp_table>;
__overlay__ {
compatible = "operating-points-v2";
opp-shared;
// in order to match the H5 DT cooling-maps, update the existing OP table in-place
// with the new voltages
opp-960000000 {
opp-hz = /bits/ 64 <960000000>;
opp-microvolt = <1100000 1100000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1008000000 {
opp-hz = /bits/ 64 <1008000000>;
opp-microvolt = <1100000 1100000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
};
};
};

View File

@ -0,0 +1,31 @@
// DT overlay for CPU frequency operating points to up to 1.2GHz at a maximum CPU voltage of 1.3v
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&cpu_opp_table>;
__overlay__ {
compatible = "operating-points-v2";
opp-shared;
// in order to match the H5 DT cooling-maps, update the existing OP table in-place
// with the new voltages
opp-1104000000 {
opp-hz = /bits/ 64 <1104000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
};
};
};

View File

@ -0,0 +1,61 @@
// DT overlay for CPU frequency operating points to 1.3GHz at a maximum CPU voltage of 1.3v
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&cpu_opp_table>;
__overlay__ {
compatible = "operating-points-v2";
opp-shared;
// in order to match the H5 DT cooling-maps, update the existing OP table in-place
// with the new voltages
opp-1056000000 {
opp-hz = /bits/ 64 <1056000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1104000000 {
opp-hz = /bits/ 64 <1104000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1152000000 {
opp-hz = /bits/ 64 <1152000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1224000000 {
opp-hz = /bits/ 64 <1224000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1248000000 {
opp-hz = /bits/ 64 <1248000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
opp-1296000000 {
opp-hz = /bits/ 64 <1296000000>;
opp-microvolt = <1300000 1300000 1300000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
};
};
};

View File

@ -0,0 +1,38 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target-path = "/";
__overlay__ {
reg_vdd_cpux: gpio-regulator {
compatible = "regulator-gpio";
regulator-name = "vdd-cpux";
regulator-type = "voltage";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1300000>;
regulator-ramp-delay = <50>; /* 4ms */
gpios = <&r_pio 0 6 0>; /* PL6 */
enable-active-high;
gpios-states = <0x1>;
states = <1100000 0x0
1300000 0x1>;
};
};
};
fragment@1 {
target = <&cpu0>;
__overlay__ {
cpu-supply = <&reg_vdd_cpux>;
};
};
};

View File

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

View File

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

View File

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

View File

@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&pio>;
__overlay__ {
pps_pins: pps_pins {
pins = "PD14";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
pps@0 {
compatible = "pps-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
gpios = <&pio 3 14 0>; /* PD14 */
status = "okay";
};
};
};
};

View File

@ -0,0 +1,39 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target-path = "/chosen";
__overlay__ {
/delete-property/ stdout-path;
};
};
fragment@1 {
target = <&uart0>;
__overlay__ {
status = "disabled";
};
};
fragment@2 {
target = <&pio>;
__overlay__ {
pwm0_pin: pwm0 {
pins = "PA5";
function = "pwm0";
};
};
};
fragment@3 {
target = <&pwm>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&pwm0_pin>;
status = "okay";
};
};
};

View File

@ -0,0 +1,38 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&spdif>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&spdif_tx_pin>;
status = "okay";
};
};
fragment@1 {
target-path = "/";
__overlay__ {
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "On-board SPDIF";
simple-audio-card,cpu {
sound-dai = <&spdif>;
};
simple-audio-card,codec {
sound-dai = <&spdif_out>;
};
};
spdif_out: spdif-out {
#sound-dai-cells = <0>;
compatible = "linux,spdif-dit";
};
};
};
};

View File

@ -0,0 +1,41 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&pio>;
__overlay__ {
spi0_cs1: spi0_cs1 {
pins = "PA21";
function = "gpio_out";
output-high;
};
spi1_cs1: spi1_cs1 {
pins = "PA10";
function = "gpio_out";
output-high;
};
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi0_cs1>;
cs-gpios = <0>, <&pio 0 21 0>; /* PA21 */
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi1_cs1>;
cs-gpios = <0>, <&pio 0 10 0>; /* PA10 */
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@1c68000";
spi1 = "/soc/spi@1c69000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@1c68000";
spi1 = "/soc/spi@1c69000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial1 = "/soc/serial@1c28400";
};
};
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-h5";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial2 = "/soc/serial@1c28800";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart2_rts_cts: uart2-rts-cts-pins {
pins = "PA2", "PA3";
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-h5";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial3 = "/soc/serial@1c28c00";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart3_rts_cts: uart3-rts-cts-pins {
pins = "PA15", "PA16";
function = "uart3";
};
};
};
fragment@2 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,27 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&ehci0>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ohci0>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&usbphy>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,27 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&ehci1>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ohci1>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&usbphy>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,27 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&ehci2>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ohci2>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&usbphy>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,27 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&ehci3>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ohci3>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&usbphy>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&pio>;
__overlay__ {
w1_pins: w1_pins {
pins = "PD14";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
onewire@0 {
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&w1_pins>;
gpios = <&pio 3 14 0>; /* PD14 */
status = "okay";
};
};
};
};

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,25 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6-pwm";
fragment@0 {
target = <&pio>;
__overlay__ {
pwm_pin: pwm-pin {
pins = "PD22";
function = "pwm";
};
};
};
fragment@1 {
target = <&pwm>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&pwm_pin>;
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target = <&r_uart>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,41 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target = <&pio>;
__overlay__ {
spi0_cs1: spi0_cs1 {
pins = "PA10";
function = "gpio_out";
output-high;
};
spi1_cs1: spi1_cs1 {
pins = "PA21";
function = "gpio_out";
output-high;
};
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi0_cs1>;
cs-gpios = <0>, <&pio 0 10 0>; /* PA10 */
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
pinctrl-names = "default", "default";
pinctrl-1 = <&spi1_cs1>;
cs-gpios = <0>, <&pio 0 21 0>; /* PA21 */
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@5010000";
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spiflash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
status = "disabled";
};
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3-spi";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@5010000";
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,30 @@
// Enable the spidev interface
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3-spi";
fragment@0 {
target-path = "/aliases";
__overlay__ {
/* Path to the SPI controller nodes */
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "armbian,spi-dev";
reg = <0x0>;
spi-max-frequency = <1000000>;
};
};
};
};

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 {
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@5000c00";
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
uart3_rts_cts: uart3-rts-cts-pins {
pins = "PD25", "PD26";
function = "uart3";
};
};
};
fragment@2 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h6";
fragment@0 {
target = <&pio>;
__overlay__ {
w1_pins: w1_pins {
pins = "PC9";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
onewire@0 {
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&w1_pins>;
gpios = <&pio 2 9 0>; /* PC9 */
status = "okay";
};
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c4>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c3>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart1>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,16 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart1>;
__overlay__ {
status = "okay";
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
pinctrl-names = "default";
uart-has-rtscts;
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart5>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart4>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,16 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart4>;
__overlay__ {
status = "okay";
pinctrl-0 = <&uart4_pi_pins>, <&uart4_pi_rts_cts_pins>;
pinctrl-names = "default";
uart-has-rtscts;
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c0>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c1>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,44 @@
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target-path = "/";
__overlay__ {
model = "BananaPi BPI-M4-Zero v2";
};
};
/* SDIO WIFI */
fragment@1 {
target = <&mmc1>;
__overlay__ {
status = "okay";
};
};
/* BLUETOOTH */
fragment@2 {
target = <&uart1>;
__overlay__ {
status = "okay";
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
pinctrl-names = "default";
uart-has-rtscts;
bluetooth {
compatible = "brcm,bcm43540-bt";
host-wakeup-gpios = <&pio 6 16 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&pio 6 17 GPIO_ACTIVE_HIGH>;
shutdown-gpios = <&pio 6 19 GPIO_ACTIVE_HIGH>;
max-speed = <1500000>;
vbat-supply = <&reg_vcc3v3>;
vddio-supply = <&reg_vcc1v8>;
};
};
};
};

View File

@ -0,0 +1,32 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>, <&spi1_cs0_pin>, <&spi1_cs1_pin>;
spidev@0 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <0>;
spi-max-frequency = <50000000>;
};
spidev@1 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <1>;
spi-max-frequency = <50000000>;
};
};
};
};

View File

@ -0,0 +1,24 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>, <&spi1_cs0_pin>;
spidev@0 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m4-zero", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,14 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&gpu>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,23 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&i2c0>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
};
};
fragment@1 {
target = <&uart2>;
__overlay__ {
status = "disabled";
};
};
};

View File

@ -0,0 +1,16 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&i2c1>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pi_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_ph_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,23 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&i2c2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pi_pins>;
status = "okay";
};
};
fragment@1 {
target = <&uart3>;
__overlay__ {
status = "disabled";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c3_pg_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c3_ph_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c4>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c4_pg_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&i2c4>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&i2c4_ph_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&ir>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;
/ {
compatible = "xunlong,orangepi-zero2w", "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&lradc>;
__overlay__ {
vref-supply = <&reg_aldo1>;
status = "okay";
button-500 {
label = "KEY_VOLUMEUP";
linux,code = <115>; // KEY_VOLUMEUP
channel = <0>;
voltage = <500000>;
};
button-800 {
label = "KEY_VOLUMEDOWN";
linux,code = <114>; // KEY_VOLUMEDOWN
channel = <0>;
voltage = <800000>;
};
};
};
};

View File

@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&i2c_gpio>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&uart0>;
__overlay__ {
status = "disabled";
};
};
};

View File

@ -0,0 +1,18 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&can>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm1>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm1_ph_pin>;
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm1>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm1_pi_pin>;
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm2_ph_pin>;
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm2_pi_pin>;
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm3>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm3_ph_pin>;
};
};
};

View File

@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm3>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm3_pi_pin>;
};
};
};

View File

@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm4>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm4_ph_pin>;
};
};
};

View File

@ -0,0 +1,20 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pwm>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm4>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm4_pi_pin>;
};
};
};

View File

@ -0,0 +1,42 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@5010000";
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "rohm,dh2228fv";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
compatible = "rohm,dh2228fv";
status = "disabled";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi0 = "/soc/spi@5010000";
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev0_0: spidev@0 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev1_0: spidev@0 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev1_1: spidev@1 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <1>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi1 = "/soc/spi@5011000";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev1_2: spidev@2 {
compatible = "rohm,dh2228fv";
status = "okay";
reg = <2>;
spi-max-frequency = <1000000>;
};
};
};
};

View File

@ -0,0 +1,33 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2c_gpio>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&tft_35>;
__overlay__ {
status = "okay";
spi-max-frequency = <12500000>;
};
};
fragment@3 {
target = <&tft_tp>;
__overlay__ {
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pg_pins>, <&uart2_pg_rts_cts_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pg_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_ph_pins>, <&uart2_ph_rts_cts_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_ph_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pi_pins>, <&uart2_pi_rts_cts_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pi_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pi_pins>, <&uart3_pi_rts_cts_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pi_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pi_pins>, <&uart4_pi_rts_cts_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart3>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pi_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616", "allwinner,sun50i-h618";
fragment@0 {
target = <&uart5>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
status = "okay";
};
};
};

View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h616";
fragment@0 {
target = <&ws2812>;
__overlay__ {
status = "okay";
};
};
};