forked from Minki/linux
Add device-tree node for display on Lego Mindstorms EV3
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJZmsEEAAoJEGFBu2jqvgRNhEoP+QHObLUik9DeE+k+3GksM7u0 Z02NEUh0BC+SfjsHIRN2Z+yvg7t6t06R75oxT71VMSGsteazwM9wMuRy4KMRjprO 604eFVaoDbZ+wrlNmK2OVfip4YehphExDk4dxLs3c/OqZi8nywYCmPf3KqNvxuQK 3KZE68M33FqJl1jToDhSYq5BIoki85dWbu/T1uPJLNiC/sJRAZUpd7XX9HvnBFU7 6HjiuzJ+wUK9QF5a2kBy2p/jUXtLIZvnoiifSGivES6MZZouOu43GaCCAQtmDEyT k/iOphOZsRUt59U/sod7+C3RA7TnMY9qgoybgFC7JLkaLTjWACL81Qz/yi3qMXR4 mKJqrS+kv+QbX274raNJsWxDqPI3DxTgMGFIEXXlwP1aN7GjwZltKrUk8vs2clIZ xd6O/I2IzEY/62thuKBCczUBr6vpXXvehMBBPvDrzWIikHJMe2R+wLt2C491VfMe lZyPbwH3FHflZn/M0kc+F1fYFQT8S97G2pFU/j94fUh4i09O4MKoqpXSVW3OZgZA 34KeEn4MXqkY3r+RGijkxvF3kb4gYGRHLaSE6yoQzYDUPgnGxkdxPt/cQkmSC1hU LWdAkfMOPgZlKPFc+gbaNt+7XcHwADmxPH1JvMmuPR4HYll5j2p26rkrK/JIg8gc pXsFwNWyTOR0g5Ltjt+/ =4jYT -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
94717836b7
@ -249,6 +249,15 @@
|
||||
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 @@
|
||||
};
|
||||
};
|
||||
|
||||
&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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user