Commit 94717836 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'davinci-for-v4.14/dt' of...

Merge tag 'davinci-for-v4.14/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/dt

Pull "Add device-tree node for display on Lego Mindstorms EV3" from Sekhar Nori:

* tag 'davinci-for-v4.14/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: dts: da850-lego-ev3: Add node for LCD display
parents 840fa4a0 2798c4b7
......@@ -249,6 +249,15 @@ battery_pins: pinmux_battery_pins {
0x4c 0x00000080 0x000000f0
>;
};
ev3_lcd_pins: pinmux_lcd {
pinctrl-single,bits = <
/* SIMO, GP2[11], GP2[12], CLK */
0x14 0x00188100 0x00ffff00
/* GP5[0] */
0x30 0x80000000 0xf0000000
>;
};
};
&pinconf {
......@@ -357,6 +366,21 @@ adc: adc@3 {
};
};
&spi1 {
status = "okay";
pinctrl-0 = <&ev3_lcd_pins>;
pinctrl-names = "default";
cs-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
display@0{
compatible = "lego,ev3-lcd";
reg = <0>;
spi-max-frequency = <10000000>;
a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
};
};
&ehrpwm0 {
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment