mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
ODROID-XU4: dts: Add nodes for Hardkernel LCDs of 2 HATs, Cloudshell, OGST
It doesn't include its touchscreen yet. Signed-off-by: Yang Deokgyu <secugyu@gmail.com> Change-Id: I110e897746dea17fc32e9fdc442c492d70888dfa
This commit is contained in:
committed by
Dongjin Kim
parent
1ef433baae
commit
6c18388b76
@@ -68,6 +68,49 @@
|
||||
sound-dai = <&hdmi>;
|
||||
};
|
||||
};
|
||||
|
||||
hktft35: hktft35 {
|
||||
status = "disabled";
|
||||
compatible = "odroid,hktft35";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hktft35_pins>;
|
||||
|
||||
rotate = <270>;
|
||||
bgr;
|
||||
fps = <20>;
|
||||
bpp = <16>;
|
||||
reset-gpios = <&gpa0 3 GPIO_ACTIVE_HIGH>;
|
||||
dc-gpios = <&gpx2 4 GPIO_ACTIVE_HIGH>;
|
||||
wr-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
|
||||
cs-gpios = <&gpa0 2 GPIO_ACTIVE_HIGH>;
|
||||
led-gpios = <&gpx2 7 GPIO_ACTIVE_HIGH>;
|
||||
db-gpios = <&gpx1 7 GPIO_ACTIVE_HIGH>,
|
||||
<&gpx2 0 GPIO_ACTIVE_HIGH>,
|
||||
<&gpx1 3 GPIO_ACTIVE_HIGH>,
|
||||
<&gpa2 4 GPIO_ACTIVE_HIGH>,
|
||||
<&gpa2 6 GPIO_ACTIVE_HIGH>,
|
||||
<&gpa2 7 GPIO_ACTIVE_HIGH>,
|
||||
<&gpx1 6 GPIO_ACTIVE_HIGH>,
|
||||
<&gpx1 5 GPIO_ACTIVE_HIGH>;
|
||||
debug = <0>;
|
||||
|
||||
hktft35_pins: hktft35_pins {
|
||||
samsung,pins = "gpa0-3", /* reset */
|
||||
"gpx2-4", /* dc */
|
||||
"gpa2-5", /* wr */
|
||||
"gpa0-2", /* cs */
|
||||
"gpx2-7", /* led */
|
||||
"gpx1-7", /* db00 */
|
||||
"gpx2-0", /* db01 */
|
||||
"gpx1-3", /* db02 */
|
||||
"gpa2-4", /* db03 */
|
||||
"gpa2-6", /* db04 */
|
||||
"gpa2-7", /* db05 */
|
||||
"gpx1-6", /* db06 */
|
||||
"gpx1-5"; /* db07 */
|
||||
samsung,pin-function = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&clock_audss {
|
||||
@@ -128,4 +171,62 @@
|
||||
samsung,spi-feedback-delay = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
hktft_cs_ogst: hktft_cs_ogst@0 {
|
||||
status = "disabled";
|
||||
compatible = "odroid,hktft32";
|
||||
reg = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hktft_cs_ogst_pins>;
|
||||
|
||||
spi-max-frequency = <40000000>;
|
||||
rotate = <270>;
|
||||
bgr;
|
||||
backlight;
|
||||
fps = <20>;
|
||||
bpp = <16>;
|
||||
reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
|
||||
dc-gpios = <&gpx1 6 GPIO_ACTIVE_HIGH>;
|
||||
led-gpios = <&gpx1 2 GPIO_ACTIVE_HIGH>;
|
||||
debug = <0>;
|
||||
|
||||
hktft_cs_ogst_pins: hktft_cs_ogst_pins {
|
||||
samsung,pins = "gpx1-5", /* reset */
|
||||
"gpx1-6", /* dc */
|
||||
"gpx1-2"; /* led */
|
||||
};
|
||||
|
||||
controller-data {
|
||||
cs-gpio = <&gpa2 5 GPIO_ACTIVE_HIGH>;
|
||||
samsung,spi-feedback-delay = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
hktft32: hktft32@0 {
|
||||
status = "disabled";
|
||||
compatible = "odroid,hktft32";
|
||||
reg = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hktft32_pins>;
|
||||
|
||||
spi-max-frequency = <40000000>;
|
||||
rotate = <90>;
|
||||
bgr;
|
||||
backlight;
|
||||
fps = <20>;
|
||||
bpp = <16>;
|
||||
reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
|
||||
dc-gpios = <&gpx1 6 GPIO_ACTIVE_HIGH>;
|
||||
debug = <0>;
|
||||
|
||||
hktft32_pins: hktft32_pins {
|
||||
samsung,pins = "gpx1-5", /* reset */
|
||||
"gpx1-6"; /* dc */
|
||||
};
|
||||
|
||||
controller-data {
|
||||
cs-gpio = <&gpa2 5 GPIO_ACTIVE_HIGH>;
|
||||
samsung,spi-feedback-delay = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user