mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
mkspi: DTBO to disable spi_for_{lcd,touch} when enabling uart1
Based on contirbution from Joe Maples <joe.maples@valtech.com>. It will make the onboard serial (ttyS1) usable for the boards: QIDI X-4, X-6 and X-7
This commit is contained in:
@@ -20,6 +20,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||
rockchip-rk3318-box-wlan-ext.dtbo \
|
||||
rockchip-rk3328-i2c0.dtbo \
|
||||
rockchip-rk3328-i2s1-pcm5102.dtbo \
|
||||
rockchip-rk3328-mkspi-disable-lcd-spi.dtbo \
|
||||
rockchip-rk3328-opp-1.4ghz.dtbo \
|
||||
rockchip-rk3328-opp-1.5ghz.dtbo \
|
||||
rockchip-rk3328-spi-spidev.dtbo \
|
||||
|
||||
@@ -16,6 +16,10 @@ for RK3308 (Rock PI-S)
|
||||
|
||||
### Overlay details:
|
||||
|
||||
### mkspi-disable-lcd-spi
|
||||
|
||||
DTBO to disable spi_for_{lcd,touch} when enabling uart1
|
||||
|
||||
### i2c7
|
||||
|
||||
Activates TWI/I2C bus 7
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3328";
|
||||
|
||||
fragment@0 {
|
||||
target-path = "/spi@ff190000";
|
||||
|
||||
__overlay__ {
|
||||
spi_for_lcd@0 {
|
||||
status = "disabled";
|
||||
};
|
||||
spi_for_touch@1 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <0xffffffff>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
__fixups__ {
|
||||
uart1 = "/fragment@1:target:0";
|
||||
};
|
||||
};
|
||||
@@ -20,6 +20,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||
rockchip-rk3318-box-wlan-ext.dtbo \
|
||||
rockchip-rk3328-i2c0.dtbo \
|
||||
rockchip-rk3328-i2s1-pcm5102.dtbo \
|
||||
rockchip-rk3328-mkspi-disable-lcd-spi.dtbo \
|
||||
rockchip-rk3328-opp-1.4ghz.dtbo \
|
||||
rockchip-rk3328-opp-1.5ghz.dtbo \
|
||||
rockchip-rk3328-spi-spidev.dtbo \
|
||||
|
||||
@@ -16,6 +16,10 @@ for RK3308 (Rock PI-S)
|
||||
|
||||
### Overlay details:
|
||||
|
||||
### mkspi-disable-lcd-spi
|
||||
|
||||
DTBO to disable spi_for_{lcd,touch} when enabling uart1
|
||||
|
||||
### i2c7
|
||||
|
||||
Activates TWI/I2C bus 7
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3328";
|
||||
|
||||
fragment@0 {
|
||||
target-path = "/spi@ff190000";
|
||||
|
||||
__overlay__ {
|
||||
spi_for_lcd@0 {
|
||||
status = "disabled";
|
||||
};
|
||||
spi_for_touch@1 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <0xffffffff>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
__fixups__ {
|
||||
uart1 = "/fragment@1:target:0";
|
||||
};
|
||||
};
|
||||
@@ -19,6 +19,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||
rockchip-rk3318-box-wlan-ext.dtbo \
|
||||
rockchip-rk3328-i2c0.dtbo \
|
||||
rockchip-rk3328-i2s1-pcm5102.dtbo \
|
||||
rockchip-rk3328-mkspi-disable-lcd-spi.dtbo \
|
||||
rockchip-rk3328-opp-1.4ghz.dtbo \
|
||||
rockchip-rk3328-opp-1.5ghz.dtbo \
|
||||
rockchip-rk3328-spi-spidev.dtbo \
|
||||
|
||||
@@ -16,6 +16,10 @@ for RK3308 (Rock PI-S)
|
||||
|
||||
### Overlay details:
|
||||
|
||||
### mkspi-disable-lcd-spi
|
||||
|
||||
DTBO to disable spi_for_{lcd,touch} when enabling uart1
|
||||
|
||||
### i2c7
|
||||
|
||||
Activates TWI/I2C bus 7
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3328";
|
||||
|
||||
fragment@0 {
|
||||
target-path = "/spi@ff190000";
|
||||
|
||||
__overlay__ {
|
||||
spi_for_lcd@0 {
|
||||
status = "disabled";
|
||||
};
|
||||
spi_for_touch@1 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <0xffffffff>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
__fixups__ {
|
||||
uart1 = "/fragment@1:target:0";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user