ODROID-M1S: dtb/dtbo: add Waveshare 1.69" ISP lcd

Change-Id: Id6de414b02cf79354f2d93c1c914f31a9fb042de
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2023-12-19 00:36:29 +09:00
committed by codewalkerster
parent a608a91b25
commit 250dce26f9
2 changed files with 51 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
circuitpython.dtbo \
dht11.dtbo \
display_3_5.dtbo \
display_waveshare_1inch69.dtbo \
display_vu5s.dtbo \
display_vu8s.dtbo \
fiq0_to_uart2.dtbo \

View File

@@ -0,0 +1,50 @@
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
/ {
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
lcd@0 {
status = "okay";
compatible = "waveshare,ws1inch69";
reg = <0>;
spi-max-frequency = <100000000>;
backlight = <&backlight_gpio>;
dc-gpios = <&gpio2 RK_PB0 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&display_pins>;
display_pins: display-pins {
rockchip,pins = <2 RK_PB0 0 &pcfg_pull_none>,
<0 RK_PC1 0 &pcfg_pull_none>;
};
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
backlight_gpio: backlight-gpio {
status = "okay";
compatible = "gpio-backlight";
gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>;
};
};
};
};