mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ODROID-N2: arm64/dts: Add hktft35 node to support HK 3.5 inch touchscreen shield
Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I940a0f5509c84d5a5d8367b38b2aaaac234dcf61
This commit is contained in:
committed by
Dongjin Kim
parent
43aef43cbf
commit
5dfc7d6b3b
@@ -481,6 +481,53 @@
|
||||
#cooling-cells = <2>;
|
||||
cooling-levels = <0 120 170 220>;
|
||||
};
|
||||
|
||||
hktft35 {
|
||||
status = "disabled";
|
||||
compatible = "odroid,hktft35";
|
||||
pinctrl-names = "hktft35";
|
||||
pinctrl-0 = <&hktft35_pins>;
|
||||
|
||||
rotate = <270>;
|
||||
bgr;
|
||||
fps = <20>;
|
||||
bpp = <16>;
|
||||
reset-gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
|
||||
dc-gpios = <&gpio GPIOX_14 GPIO_ACTIVE_LOW>;
|
||||
wr-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
|
||||
cs-gpios = <&gpio GPIOX_16 GPIO_ACTIVE_LOW>;
|
||||
led-gpios = <&gpio GPIOX_5 GPIO_ACTIVE_LOW>;
|
||||
db-gpios = <&gpio GPIOX_1 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_2 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_0 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_11 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_9 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_8 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_7 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOX_4 GPIO_ACTIVE_LOW>;
|
||||
debug = <0>;
|
||||
|
||||
hktft35_pins: hktft35_pins {
|
||||
mux {
|
||||
groups = "GPIOX_0",
|
||||
"GPIOX_1",
|
||||
"GPIOX_2",
|
||||
"GPIOX_3",
|
||||
"GPIOX_4",
|
||||
"GPIOX_5",
|
||||
"GPIOX_7",
|
||||
"GPIOX_8",
|
||||
"GPIOX_9",
|
||||
"GPIOX_10",
|
||||
"GPIOX_11",
|
||||
"GPIOX_14",
|
||||
"GPIOX_16";
|
||||
function = "gpio_periphs";
|
||||
output-high;
|
||||
drive-strength = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&soc_thermal {
|
||||
|
||||
Reference in New Issue
Block a user