diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-09-13 11:43:48 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-09-13 11:43:48 -0400 |
commit | 327c2c1562c9bfe001e4e773c05d9cd731a4883e (patch) | |
tree | ccf5265d1344e0f9bf090c87426e49062b8ed8e4 /arch/arm/boot/dts | |
parent | 4dbacf2cdea7f372fddd576ff582634c8c2dc1f0 (diff) | |
parent | 17470b7da11c137267c74ff0d2d4cca56f595c60 (diff) |
Merge tag 'clcd-nomadik' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/dt
Pull "CLCD graphics on the Nomadik NHK15" from Linus Walleij:
* tag 'clcd-nomadik' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
ARM: dts: add the CLCD LCD display to the NHK15
ARM: dts: add PMU to the NHK15 device tree
ARM: nomadik: select MFD_SYSCON
dt-bindings: Add TPO TPG110 binding
dt-bindings: add vendor TPO
ARM: dts: add STMPE PWM to the NHK15 device tree
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/ste-nomadik-nhk15.dts | 68 | ||||
-rw-r--r-- | arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | 28 |
2 files changed, 96 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts index d35aa88791ad..1ec46a794a4d 100644 --- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts +++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts | |||
@@ -140,6 +140,10 @@ | |||
140 | 0x03020067 // Up | 140 | 0x03020067 // Up |
141 | 0x0303006c>; // Down | 141 | 0x0303006c>; // Down |
142 | }; | 142 | }; |
143 | stmpe0_pwm: stmpe_pwm { | ||
144 | compatible = "st,stmpe-pwm"; | ||
145 | #pwm-cells = <2>; | ||
146 | }; | ||
143 | }; | 147 | }; |
144 | stmpe1: stmpe2401@44 { | 148 | stmpe1: stmpe2401@44 { |
145 | compatible = "st,stmpe2401"; | 149 | compatible = "st,stmpe2401"; |
@@ -172,6 +176,50 @@ | |||
172 | }; | 176 | }; |
173 | 177 | ||
174 | amba { | 178 | amba { |
179 | clcd@10120000 { | ||
180 | status = "okay"; | ||
181 | pinctrl-names = "default"; | ||
182 | pinctrl-0 = <&clcd_24bit_mux>; | ||
183 | port { | ||
184 | nomadik_clcd_pads: endpoint { | ||
185 | remote-endpoint = <&nomadik_clcd_panel>; | ||
186 | arm,pl11x,tft-r0g0b0-pads = <16 8 0>; | ||
187 | }; | ||
188 | }; | ||
189 | |||
190 | /* | ||
191 | * WVGA connector 21 | ||
192 | * WVGA (800x480): 4.3" TPG110 TDO43MTEA2 24-bit RGB | ||
193 | * with TPO touch screen. | ||
194 | */ | ||
195 | panel { | ||
196 | compatible = "tpo,tpg110", "panel-dpi"; | ||
197 | grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>; | ||
198 | scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; | ||
199 | scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; | ||
200 | sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; | ||
201 | backlight = <&bl>; | ||
202 | |||
203 | port { | ||
204 | nomadik_clcd_panel: endpoint { | ||
205 | remote-endpoint = <&nomadik_clcd_pads>; | ||
206 | }; | ||
207 | }; | ||
208 | |||
209 | panel-timing { | ||
210 | clock-frequency = <33200000>; | ||
211 | hactive = <800>; | ||
212 | hback-porch = <216>; | ||
213 | hfront-porch = <40>; | ||
214 | hsync-len = <1>; | ||
215 | vactive = <480>; | ||
216 | vback-porch = <35>; | ||
217 | vfront-porch = <10>; | ||
218 | vsync-len = <1>; | ||
219 | }; | ||
220 | }; | ||
221 | }; | ||
222 | |||
175 | /* Activate RX/TX and CTS/RTS on UART 0 */ | 223 | /* Activate RX/TX and CTS/RTS on UART 0 */ |
176 | uart0: uart@101fd000 { | 224 | uart0: uart@101fd000 { |
177 | pinctrl-names = "default"; | 225 | pinctrl-names = "default"; |
@@ -183,4 +231,24 @@ | |||
183 | wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>; | 231 | wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>; |
184 | }; | 232 | }; |
185 | }; | 233 | }; |
234 | |||
235 | bl: backlight { | ||
236 | compatible = "pwm-backlight"; | ||
237 | pwms = <&stmpe0_pwm 0 500000>; | ||
238 | pwm-names = "backlight"; | ||
239 | brightness-levels = < | ||
240 | 0 1 2 3 4 5 6 7 8 9 | ||
241 | 10 11 12 13 14 15 16 17 18 19 | ||
242 | 20 21 22 23 24 25 26 27 28 29 | ||
243 | 30 31 32 33 34 35 36 37 38 39 | ||
244 | 40 41 42 43 44 45 46 47 48 49 | ||
245 | 50 51 52 53 54 55 56 57 58 59 | ||
246 | 60 61 62 63 64 65 66 67 68 69 | ||
247 | 70 71 72 73 74 75 76 77 78 79 | ||
248 | 80 81 82 83 84 85 86 87 88 89 | ||
249 | 90 91 92 93 94 95 96 97 98 99 | ||
250 | 100 | ||
251 | >; | ||
252 | default-brightness-level = <100>; | ||
253 | }; | ||
186 | }; | 254 | }; |
diff --git a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi index d2d532a9d783..adb1c0998b81 100644 --- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | |||
@@ -166,6 +166,24 @@ | |||
166 | }; | 166 | }; |
167 | }; | 167 | }; |
168 | }; | 168 | }; |
169 | clcd { | ||
170 | /* | ||
171 | * This should be activated to use the additional | ||
172 | * 8 lines for bits 16 thru 23 from the CLCD block. | ||
173 | */ | ||
174 | clcd_24bit_mux: clcd_mux { | ||
175 | clcd_24bit_mux { | ||
176 | function = "clcd"; | ||
177 | groups = "clcd_16_23_b_1"; | ||
178 | }; | ||
179 | }; | ||
180 | }; | ||
181 | }; | ||
182 | |||
183 | /* Power Management Unit */ | ||
184 | pmu: pmu@101e9000 { | ||
185 | compatible = "stericsson,nomadik-pmu", "syscon"; | ||
186 | reg = <0x101e0000 0x1000>; | ||
169 | }; | 187 | }; |
170 | 188 | ||
171 | src: src@101e0000 { | 189 | src: src@101e0000 { |
@@ -726,6 +744,16 @@ | |||
726 | #size-cells = <1>; | 744 | #size-cells = <1>; |
727 | ranges; | 745 | ranges; |
728 | 746 | ||
747 | clcd@10120000 { | ||
748 | compatible = "arm,pl110", "arm,primecell"; | ||
749 | reg = <0x10120000 0x1000>; | ||
750 | interrupt-names = "combined"; | ||
751 | interrupts = <14>; | ||
752 | clocks = <&clcdclk>, <&hclkclcd>; | ||
753 | clock-names = "clcdclk", "apb_pclk"; | ||
754 | status = "disabled"; | ||
755 | }; | ||
756 | |||
729 | vica: intc@10140000 { | 757 | vica: intc@10140000 { |
730 | compatible = "arm,versatile-vic"; | 758 | compatible = "arm,versatile-vic"; |
731 | interrupt-controller; | 759 | interrupt-controller; |