mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
ODROID-M1: dtb/dtbo: add Waveshare 1.47" ISP lcd
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I263d4abe45589266be1d5bc545c2ddc17dba9ed6
This commit is contained in:
committed by
codewalkerster
parent
5643b4d5f4
commit
27abed4270
@@ -6,6 +6,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
|
||||
circuitpython.dtbo \
|
||||
dht11.dtbo \
|
||||
display_vu8m.dtbo \
|
||||
display_waveshare_1inch47.dtbo \
|
||||
display_waveshare_1inch69.dtbo \
|
||||
fiq0_to_uart2.dtbo \
|
||||
hktft32.dtbo \
|
||||
|
||||
@@ -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,ws1inch47";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <100000000>;
|
||||
|
||||
backlight = <&backlight_gpio>;
|
||||
dc-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&display_pins>;
|
||||
|
||||
display_pins: display-pins {
|
||||
rockchip,pins = <3 RK_PD1 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 = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user