Skip to content

Commit 9e05c00

Browse files
dlechProject516
authored andcommitted
ev3dev: cumulative ev3dev changes to arm arch code
This contains all of the changes to /arch/arm/ from the ev3dev v3.16 kernel branch.
1 parent a9152eb commit 9e05c00

File tree

14 files changed

+2704
-5
lines changed

14 files changed

+2704
-5
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Device tree for LEGO MINDSTORMS EV3 with Adafruit 1.8" Color TFT
3+
*
4+
* Copyright (C) 2018 David Lechner <[email protected]>
5+
*
6+
* This program is free software; you can redistribute it and/or modify it
7+
* under the terms of the GNU General Public License as published by the
8+
* Free Software Foundation, version 2.
9+
*/
10+
11+
#include "da850-lego-ev3.dts"
12+
13+
/ {
14+
backlight: backlight {
15+
compatible = "gpio-backlight";
16+
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
17+
};
18+
};
19+
20+
&spi1 {
21+
/delete-property/cs-gpios;
22+
23+
display@0 {
24+
status = "disabled";
25+
};
26+
27+
display@1{
28+
compatible = "jianda,jd-t18003-t01";
29+
/* not actually using CS */
30+
reg = <1>;
31+
spi-max-frequency = <32000000>;
32+
dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
33+
reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
34+
backlight = <&backlight>;
35+
rotation = <270>;
36+
};
37+
};
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Device tree for LEGO MINDSTORMS EV3 with Adafruit 1.8" Color TFT
3+
*
4+
* Copyright (C) 2018 David Lechner <[email protected]>
5+
*
6+
* This program is free software; you can redistribute it and/or modify it
7+
* under the terms of the GNU General Public License as published by the
8+
* Free Software Foundation, version 2.
9+
*/
10+
11+
#include "da850-lego-ev3.dts"
12+
13+
/ {
14+
backlight: backlight {
15+
compatible = "gpio-backlight";
16+
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
17+
};
18+
};
19+
20+
&spi1 {
21+
/delete-property/cs-gpios;
22+
23+
display@0 {
24+
status = "disabled";
25+
};
26+
27+
display@1{
28+
compatible = "jianda,jd-t18003-t01";
29+
/* not actually using CS */
30+
reg = <1>;
31+
spi-max-frequency = <32000000>;
32+
dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
33+
reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
34+
backlight = <&backlight>;
35+
rotation = <90>;
36+
};
37+
};

0 commit comments

Comments
 (0)