~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/renesas/r8a7740-armadillo800eva.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree Source for the armadillo 800 eva board
  4  *
  5  * Copyright (C) 2012 Renesas Solutions Corp.
  6  */
  7 
  8 /dts-v1/;
  9 #include "r8a7740.dtsi"
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/interrupt-controller/irq.h>
 13 #include <dt-bindings/pwm/pwm.h>
 14 
 15 / {
 16         model = "armadillo 800 eva";
 17         compatible = "renesas,armadillo800eva", "renesas,r8a7740";
 18 
 19         aliases {
 20                 serial0 = &scifa1;
 21         };
 22 
 23         chosen {
 24                 bootargs = "earlyprintk ignore_loglevel root=/dev/nfs ip=on rw";
 25                 stdout-path = "serial0:115200n8";
 26         };
 27 
 28         memory@40000000 {
 29                 device_type = "memory";
 30                 reg = <0x40000000 0x20000000>;
 31         };
 32 
 33         reg_3p3v: regulator-3p3v {
 34                 compatible = "regulator-fixed";
 35                 regulator-name = "fixed-3.3V";
 36                 regulator-min-microvolt = <3300000>;
 37                 regulator-max-microvolt = <3300000>;
 38                 regulator-always-on;
 39                 regulator-boot-on;
 40         };
 41 
 42         vcc_sdhi0: regulator-vcc-sdhi0 {
 43                 compatible = "regulator-fixed";
 44 
 45                 regulator-name = "SDHI0 Vcc";
 46                 regulator-min-microvolt = <3300000>;
 47                 regulator-max-microvolt = <3300000>;
 48 
 49                 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
 50                 enable-active-high;
 51         };
 52 
 53         vccq_sdhi0: regulator-vccq-sdhi0 {
 54                 compatible = "regulator-gpio";
 55 
 56                 regulator-name = "SDHI0 VccQ";
 57                 regulator-min-microvolt = <1800000>;
 58                 regulator-max-microvolt = <3300000>;
 59                 vin-supply = <&vcc_sdhi0>;
 60 
 61                 enable-gpios = <&pfc 74 GPIO_ACTIVE_HIGH>;
 62                 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
 63                 states = <3300000 0>, <1800000 1>;
 64 
 65                 enable-active-high;
 66         };
 67 
 68         reg_5p0v: regulator-5p0v {
 69                 compatible = "regulator-fixed";
 70                 regulator-name = "fixed-5.0V";
 71                 regulator-min-microvolt = <5000000>;
 72                 regulator-max-microvolt = <5000000>;
 73                 regulator-always-on;
 74                 regulator-boot-on;
 75         };
 76 
 77         keyboard {
 78                 compatible = "gpio-keys";
 79 
 80                 power-key {
 81                         gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
 82                         linux,code = <KEY_POWER>;
 83                         label = "SW3";
 84                         wakeup-source;
 85                 };
 86 
 87                 back-key {
 88                         gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
 89                         linux,code = <KEY_BACK>;
 90                         label = "SW4";
 91                 };
 92 
 93                 menu-key {
 94                         gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
 95                         linux,code = <KEY_MENU>;
 96                         label = "SW5";
 97                 };
 98 
 99                 home-key {
100                         gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
101                         linux,code = <KEY_HOME>;
102                         label = "SW6";
103                 };
104         };
105 
106         leds {
107                 compatible = "gpio-leds";
108                 led3 {
109                         gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
110                         label = "LED3";
111                 };
112                 led4 {
113                         gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
114                         label = "LED4";
115                 };
116                 led5 {
117                         gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
118                         label = "LED5";
119                 };
120                 led6 {
121                         gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
122                         label = "LED6";
123                 };
124         };
125 
126         i2c2: i2c-2 {
127                 #address-cells = <1>;
128                 #size-cells = <0>;
129                 compatible = "i2c-gpio";
130                 sda-gpios = <&pfc 208 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
131                 scl-gpios = <&pfc 91 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
132                 i2c-gpio,delay-us = <5>;
133         };
134 
135         backlight: backlight {
136                 compatible = "pwm-backlight";
137                 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
138                 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
139                 default-brightness-level = <9>;
140                 pinctrl-0 = <&backlight_pins>;
141                 pinctrl-names = "default";
142                 power-supply = <&reg_5p0v>;
143                 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
144         };
145 
146         panel {
147                 compatible = "ampire,am-800480l1tmqw-t00h";
148                 backlight = <&backlight>;
149                 power-supply = <&reg_5p0v>;
150 
151                 port {
152                         panel_in: endpoint {
153                                 remote-endpoint = <&lcdc0_rgb>;
154                         };
155                 };
156         };
157 
158         sound {
159                 compatible = "simple-audio-card";
160 
161                 simple-audio-card,format = "i2s";
162 
163                 simple-audio-card,cpu {
164                         sound-dai = <&sh_fsi2 0>;
165                         bitclock-inversion;
166                 };
167 
168                 simple-audio-card,codec {
169                         sound-dai = <&wm8978>;
170                         bitclock-master;
171                         frame-master;
172                         system-clock-frequency = <12288000>;
173                 };
174         };
175 };
176 
177 &ether {
178         pinctrl-0 = <&ether_pins>;
179         pinctrl-names = "default";
180 
181         phy-handle = <&phy0>;
182         status = "okay";
183 
184         phy0: ethernet-phy@0 {
185                 compatible = "ethernet-phy-id0007.c0f1",
186                              "ethernet-phy-ieee802.3-c22";
187                 reg = <0>;
188                 reset-gpios = <&pfc 18 GPIO_ACTIVE_LOW>;
189         };
190 };
191 
192 &extal1_clk {
193         clock-frequency = <24000000>;
194 };
195 &extal2_clk {
196         clock-frequency = <48000000>;
197 };
198 &fsibck_clk {
199         clock-frequency = <12288000>;
200 };
201 &cpg_clocks {
202         renesas,mode = <0x05>; /* MD_CK0 | MD_CK2 */
203 };
204 
205 &cmt1 {
206         status = "okay";
207 };
208 
209 &i2c0 {
210         status = "okay";
211 
212         wm8978: codec@1a {
213                 #sound-dai-cells = <0>;
214                 compatible = "wlf,wm8978";
215                 reg = <0x1a>;
216         };
217 
218         eeprom@50 {
219                 compatible = "st,24c01", "atmel,24c01";
220                 reg = <0x50>;
221                 pagesize = <16>;
222         };
223 
224         touchscreen@55 {
225                 compatible = "sitronix,st1232";
226                 reg = <0x55>;
227                 interrupt-parent = <&irqpin1>;
228                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
229                 pinctrl-0 = <&st1232_pins>;
230                 pinctrl-names = "default";
231                 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
232         };
233 };
234 
235 &i2c2 {
236         status = "okay";
237         rtc@30 {
238                 compatible = "sii,s35390a";
239                 reg = <0x30>;
240         };
241 };
242 
243 &lcdc0 {
244         pinctrl-0 = <&lcd0_pins>;
245         pinctrl-names = "default";
246 
247         status = "okay";
248 
249         ports {
250                 port@0 {
251                         endpoint {
252                                 remote-endpoint = <&panel_in>;
253                         };
254                 };
255         };
256 };
257 
258 &pfc {
259         ether_pins: ether {
260                 groups = "gether_mii", "gether_int";
261                 function = "gether";
262         };
263 
264         scifa1_pins: scifa1 {
265                 groups = "scifa1_data";
266                 function = "scifa1";
267         };
268 
269         st1232_pins: touchscreen {
270                 groups = "intc_irq10";
271                 function = "intc";
272         };
273 
274         backlight_pins: backlight {
275                 groups = "tpu0_to2_1";
276                 function = "tpu0";
277         };
278 
279         mmc0_pins: mmc0 {
280                 groups = "mmc0_data8_1", "mmc0_ctrl_1";
281                 function = "mmc0";
282         };
283 
284         sdhi0_pins: sd0 {
285                 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
286                 function = "sdhi0";
287         };
288 
289         fsia_pins: sounda {
290                 groups = "fsia_sclk_in", "fsia_mclk_out",
291                          "fsia_data_in_1", "fsia_data_out_0";
292                 function = "fsia";
293         };
294 
295         lcd0_pins: lcd0 {
296                 groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync";
297                 function = "lcd0";
298         };
299 
300         lcd0-mux-hog {
301                 /* DBGMD/LCDC0/FSIA MUX */
302                 gpio-hog;
303                 gpios = <176 0>;
304                 output-high;
305         };
306 };
307 
308 &tpu {
309         status = "okay";
310 };
311 
312 &mmcif0 {
313         pinctrl-0 = <&mmc0_pins>;
314         pinctrl-names = "default";
315 
316         vmmc-supply = <&reg_3p3v>;
317         bus-width = <8>;
318         non-removable;
319         status = "okay";
320 };
321 
322 &scifa1 {
323         pinctrl-0 = <&scifa1_pins>;
324         pinctrl-names = "default";
325 
326         status = "okay";
327 };
328 
329 &sdhi0 {
330         pinctrl-0 = <&sdhi0_pins>;
331         pinctrl-names = "default";
332 
333         vmmc-supply = <&vcc_sdhi0>;
334         vqmmc-supply = <&vccq_sdhi0>;
335         bus-width = <4>;
336         cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
337         status = "okay";
338 };
339 
340 &sh_fsi2 {
341         pinctrl-0 = <&fsia_pins>;
342         pinctrl-names = "default";
343 
344         status = "okay";
345 };
346 
347 &tmu0 {
348         status = "okay";
349 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php