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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/e70k02.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/nxp/imx/e70k02.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/nxp/imx/e70k02.dtsi (Architecture sparc64)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Copyright 2021 Andreas Kemnade                   3  * Copyright 2021 Andreas Kemnade
  4  * based on works                                   4  * based on works
  5  * Copyright 2016 Freescale Semiconductor, Inc      5  * Copyright 2016 Freescale Semiconductor, Inc.
  6  * and                                              6  * and
  7  * Copyright (C) 2014 Ricoh Electronic Devices      7  * Copyright (C) 2014 Ricoh Electronic Devices Co., Ltd
  8  *                                                  8  *
  9  * Netronix E70K02 board common.                    9  * Netronix E70K02 board common.
 10  * This board is equipped with different SoCs      10  * This board is equipped with different SoCs and
 11  * found in ebook-readers like the Kobo Clara      11  * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and
 12  * the Tolino Shine 3 (with i.MX6SL)               12  * the Tolino Shine 3 (with i.MX6SL)
 13  */                                                13  */
 14 #include <dt-bindings/input/input.h>               14 #include <dt-bindings/input/input.h>
 15                                                    15 
 16 / {                                                16 / {
 17         aliases {                                  17         aliases {
 18                 mmc0 = &usdhc1;                    18                 mmc0 = &usdhc1;
 19                 mmc1 = &usdhc3;                    19                 mmc1 = &usdhc3;
 20         };                                         20         };
 21                                                    21 
 22         chosen {                                   22         chosen {
 23                 stdout-path = &uart1;              23                 stdout-path = &uart1;
 24         };                                         24         };
 25                                                    25 
 26         gpio_keys: gpio-keys {                     26         gpio_keys: gpio-keys {
 27                 compatible = "gpio-keys";          27                 compatible = "gpio-keys";
 28                                                    28 
 29                 key-power {                        29                 key-power {
 30                         label = "Power";           30                         label = "Power";
 31                         gpios = <&gpio4 25 GPI     31                         gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
 32                         linux,code = <KEY_POWE     32                         linux,code = <KEY_POWER>;
 33                         wakeup-source;             33                         wakeup-source;
 34                 };                                 34                 };
 35                                                    35 
 36                 key-cover {                        36                 key-cover {
 37                         label = "Cover";           37                         label = "Cover";
 38                         gpios = <&gpio4 23 GPI     38                         gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
 39                         linux,code = <SW_LID>;     39                         linux,code = <SW_LID>;
 40                         linux,input-type = <EV     40                         linux,input-type = <EV_SW>;
 41                         wakeup-source;             41                         wakeup-source;
 42                 };                                 42                 };
 43                                                    43 
 44                 key-pageup {                       44                 key-pageup {
 45                         label = "PageUp";          45                         label = "PageUp";
 46                         gpios = <&gpio4 0 GPIO     46                         gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
 47                         linux,code = <KEY_PAGE     47                         linux,code = <KEY_PAGEUP>;
 48                 };                                 48                 };
 49                                                    49 
 50                 key-pagedown {                     50                 key-pagedown {
 51                         label = "PageDown";        51                         label = "PageDown";
 52                         gpios = <&gpio4 2 GPIO     52                         gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
 53                         linux,code = <KEY_PAGE     53                         linux,code = <KEY_PAGEDOWN>;
 54                 };                                 54                 };
 55         };                                         55         };
 56                                                    56 
 57         leds: leds {                               57         leds: leds {
 58                 compatible = "gpio-leds";          58                 compatible = "gpio-leds";
 59                                                    59 
 60                 led {                              60                 led {
 61                         label = "e70k02:white:     61                         label = "e70k02:white:on";
 62                         gpios = <&gpio4 17 GPI     62                         gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
 63                         linux,default-trigger      63                         linux,default-trigger = "timer";
 64                 };                                 64                 };
 65         };                                         65         };
 66                                                    66 
 67         memory@80000000 {                          67         memory@80000000 {
 68                 device_type = "memory";            68                 device_type = "memory";
 69                 reg = <0x80000000 0x20000000>;     69                 reg = <0x80000000 0x20000000>;
 70         };                                         70         };
 71                                                    71 
 72         reg_wifi: regulator-wifi {                 72         reg_wifi: regulator-wifi {
 73                 compatible = "regulator-fixed"     73                 compatible = "regulator-fixed";
 74                 regulator-name = "SD3_SPWR";       74                 regulator-name = "SD3_SPWR";
 75                 regulator-min-microvolt = <300     75                 regulator-min-microvolt = <3000000>;
 76                 regulator-max-microvolt = <300     76                 regulator-max-microvolt = <3000000>;
 77                 gpio = <&gpio4 29 GPIO_ACTIVE_     77                 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
 78                 enable-active-high;                78                 enable-active-high;
 79         };                                         79         };
 80                                                    80 
 81         wifi_pwrseq: wifi-pwrseq {                 81         wifi_pwrseq: wifi-pwrseq {
 82                 compatible = "mmc-pwrseq-simpl     82                 compatible = "mmc-pwrseq-simple";
 83                 post-power-on-delay-ms = <20>;     83                 post-power-on-delay-ms = <20>;
 84                 reset-gpios = <&gpio5 0 GPIO_A     84                 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
 85         };                                         85         };
 86 };                                                 86 };
 87                                                    87 
 88 &i2c1 {                                            88 &i2c1 {
 89         clock-frequency = <100000>;                89         clock-frequency = <100000>;
 90         status = "okay";                           90         status = "okay";
 91                                                    91 
 92         lm3630a: backlight@36 {                    92         lm3630a: backlight@36 {
 93                 reg = <0x36>;                      93                 reg = <0x36>;
 94                 compatible = "ti,lm3630a";         94                 compatible = "ti,lm3630a";
 95                 enable-gpios = <&gpio2 10 GPIO     95                 enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
 96                                                    96 
 97                 #address-cells = <1>;              97                 #address-cells = <1>;
 98                 #size-cells = <0>;                 98                 #size-cells = <0>;
 99                                                    99 
100                 led@0 {                           100                 led@0 {
101                         reg = <0>;                101                         reg = <0>;
102                         led-sources = <0>;        102                         led-sources = <0>;
103                         label = "backlight_war    103                         label = "backlight_warm";
104                         default-brightness = <    104                         default-brightness = <0>;
105                         max-brightness = <255>    105                         max-brightness = <255>;
106                 };                                106                 };
107                                                   107 
108                 led@1 {                           108                 led@1 {
109                         reg = <1>;                109                         reg = <1>;
110                         led-sources = <1>;        110                         led-sources = <1>;
111                         label = "backlight_col    111                         label = "backlight_cold";
112                         default-brightness = <    112                         default-brightness = <0>;
113                         max-brightness = <255>    113                         max-brightness = <255>;
114                 };                                114                 };
115         };                                        115         };
116                                                   116 
117         /* TODO: KX122 acceleration sensor a 0    117         /* TODO: KX122 acceleration sensor a 0x1e */
118                                                   118 
119 };                                                119 };
120                                                   120 
121 &i2c2 {                                           121 &i2c2 {
122         clock-frequency = <100000>;               122         clock-frequency = <100000>;
123         status = "okay";                          123         status = "okay";
124                                                   124 
125         touchscreen@24 {                          125         touchscreen@24 {
126                 compatible = "cypress,tt21000"    126                 compatible = "cypress,tt21000";
127                 reg = <0x24>;                     127                 reg = <0x24>;
128                 pinctrl-names = "default";        128                 pinctrl-names = "default";
129                 pinctrl-0 = <&pinctrl_cyttsp5_    129                 pinctrl-0 = <&pinctrl_cyttsp5_gpio>;
130                 interrupt-parent = <&gpio4>;      130                 interrupt-parent = <&gpio4>;
131                 interrupts = <24 IRQ_TYPE_EDGE    131                 interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
132                 reset-gpios = <&gpio4 18 GPIO_    132                 reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
133                 vdd-supply = <&ldo5_reg>;         133                 vdd-supply = <&ldo5_reg>;
134         };                                        134         };
135                                                   135 
136         /* TODO: SY7636 PMIC for E Ink at 0x62    136         /* TODO: SY7636 PMIC for E Ink at 0x62 */
137                                                   137 
138 };                                                138 };
139                                                   139 
140 &i2c3 {                                           140 &i2c3 {
141         clock-frequency = <100000>;               141         clock-frequency = <100000>;
142         status = "okay";                          142         status = "okay";
143                                                   143 
144         ricoh619: pmic@32 {                       144         ricoh619: pmic@32 {
145                 compatible = "ricoh,rc5t619";     145                 compatible = "ricoh,rc5t619";
146                 reg = <0x32>;                     146                 reg = <0x32>;
147                 interrupt-parent = <&gpio4>;      147                 interrupt-parent = <&gpio4>;
148                 interrupts = <19 IRQ_TYPE_LEVE    148                 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
149                 system-power-controller;          149                 system-power-controller;
150                                                   150 
151                 regulators {                      151                 regulators {
152                         dcdc1_reg: DCDC1 {        152                         dcdc1_reg: DCDC1 {
153                                 regulator-name    153                                 regulator-name = "DCDC1";
154                                 regulator-min-    154                                 regulator-min-microvolt = <300000>;
155                                 regulator-max-    155                                 regulator-max-microvolt = <1875000>;
156                                 regulator-alwa    156                                 regulator-always-on;
157                                 regulator-boot    157                                 regulator-boot-on;
158                                                   158 
159                                 regulator-stat    159                                 regulator-state-mem {
160                                         regula    160                                         regulator-on-in-suspend;
161                                         regula    161                                         regulator-suspend-max-microvolt = <900000>;
162                                         regula    162                                         regulator-suspend-min-microvolt = <900000>;
163                                 };                163                                 };
164                         };                        164                         };
165                                                   165 
166                         /* Core3_3V3 */           166                         /* Core3_3V3 */
167                         dcdc2_reg: DCDC2 {        167                         dcdc2_reg: DCDC2 {
168                                 regulator-name    168                                 regulator-name = "DCDC2";
169                                 regulator-alwa    169                                 regulator-always-on;
170                                 regulator-boot    170                                 regulator-boot-on;
171                                                   171 
172                                 regulator-stat    172                                 regulator-state-mem {
173                                         regula    173                                         regulator-on-in-suspend;
174                                         regula    174                                         regulator-suspend-max-microvolt = <3300000>;
175                                         regula    175                                         regulator-suspend-min-microvolt = <3300000>;
176                                 };                176                                 };
177                         };                        177                         };
178                                                   178 
179                         dcdc3_reg: DCDC3 {        179                         dcdc3_reg: DCDC3 {
180                                 regulator-name    180                                 regulator-name = "DCDC3";
181                                 regulator-min-    181                                 regulator-min-microvolt = <300000>;
182                                 regulator-max-    182                                 regulator-max-microvolt = <1875000>;
183                                 regulator-alwa    183                                 regulator-always-on;
184                                 regulator-boot    184                                 regulator-boot-on;
185                                                   185 
186                                 regulator-stat    186                                 regulator-state-mem {
187                                         regula    187                                         regulator-on-in-suspend;
188                                         regula    188                                         regulator-suspend-max-microvolt = <1140000>;
189                                         regula    189                                         regulator-suspend-min-microvolt = <1140000>;
190                                 };                190                                 };
191                         };                        191                         };
192                                                   192 
193                         /* Core4_1V2 */           193                         /* Core4_1V2 */
194                         dcdc4_reg: DCDC4 {        194                         dcdc4_reg: DCDC4 {
195                                 regulator-name    195                                 regulator-name = "DCDC4";
196                                 regulator-min-    196                                 regulator-min-microvolt = <1200000>;
197                                 regulator-max-    197                                 regulator-max-microvolt = <1200000>;
198                                 regulator-alwa    198                                 regulator-always-on;
199                                 regulator-boot    199                                 regulator-boot-on;
200                                                   200 
201                                 regulator-stat    201                                 regulator-state-mem {
202                                         regula    202                                         regulator-on-in-suspend;
203                                         regula    203                                         regulator-suspend-max-microvolt = <1140000>;
204                                         regula    204                                         regulator-suspend-min-microvolt = <1140000>;
205                                 };                205                                 };
206                         };                        206                         };
207                                                   207 
208                         /* Core4_1V8 */           208                         /* Core4_1V8 */
209                         dcdc5_reg: DCDC5 {        209                         dcdc5_reg: DCDC5 {
210                                 regulator-name    210                                 regulator-name = "DCDC5";
211                                 regulator-min-    211                                 regulator-min-microvolt = <1800000>;
212                                 regulator-max-    212                                 regulator-max-microvolt = <1800000>;
213                                 regulator-alwa    213                                 regulator-always-on;
214                                 regulator-boot    214                                 regulator-boot-on;
215                                                   215 
216                                 regulator-stat    216                                 regulator-state-mem {
217                                         regula    217                                         regulator-on-in-suspend;
218                                         regula    218                                         regulator-suspend-max-microvolt = <1700000>;
219                                         regula    219                                         regulator-suspend-min-microvolt = <1700000>;
220                                 };                220                                 };
221                         };                        221                         };
222                                                   222 
223                         ldo1_reg: LDO1  {         223                         ldo1_reg: LDO1  {
224                                 regulator-name    224                                 regulator-name = "LDO1";
225                                 regulator-boot    225                                 regulator-boot-on;
226                         };                        226                         };
227                                                   227 
228                         /* Core1_3V3 */           228                         /* Core1_3V3 */
229                         ldo2_reg: LDO2  {         229                         ldo2_reg: LDO2  {
230                                 regulator-name    230                                 regulator-name = "LDO2";
231                                 regulator-alwa    231                                 regulator-always-on;
232                                 regulator-boot    232                                 regulator-boot-on;
233                                                   233 
234                                 regulator-stat    234                                 regulator-state-mem {
235                                         regula    235                                         regulator-on-in-suspend;
236                                         regula    236                                         regulator-suspend-max-microvolt = <3000000>;
237                                         regula    237                                         regulator-suspend-min-microvolt = <3000000>;
238                                 };                238                                 };
239                         };                        239                         };
240                                                   240 
241                         /* Core5_1V2 */           241                         /* Core5_1V2 */
242                         ldo3_reg: LDO3  {         242                         ldo3_reg: LDO3  {
243                                 regulator-name    243                                 regulator-name = "LDO3";
244                                 regulator-alwa    244                                 regulator-always-on;
245                                 regulator-boot    245                                 regulator-boot-on;
246                         };                        246                         };
247                                                   247 
248                         ldo4_reg: LDO4 {          248                         ldo4_reg: LDO4 {
249                                 regulator-name    249                                 regulator-name = "LDO4";
250                                 regulator-boot    250                                 regulator-boot-on;
251                         };                        251                         };
252                                                   252 
253                         /* SPD_3V3 */             253                         /* SPD_3V3 */
254                         ldo5_reg: LDO5 {          254                         ldo5_reg: LDO5 {
255                                 regulator-name    255                                 regulator-name = "LDO5";
256                                 regulator-alwa    256                                 regulator-always-on;
257                                 regulator-boot    257                                 regulator-boot-on;
258                         };                        258                         };
259                                                   259 
260                         /* DDR_0V6 */             260                         /* DDR_0V6 */
261                         ldo6_reg: LDO6 {          261                         ldo6_reg: LDO6 {
262                                 regulator-name    262                                 regulator-name = "LDO6";
263                                 regulator-alwa    263                                 regulator-always-on;
264                                 regulator-boot    264                                 regulator-boot-on;
265                         };                        265                         };
266                                                   266 
267                         /* VDD_PWM */             267                         /* VDD_PWM */
268                         ldo7_reg: LDO7 {          268                         ldo7_reg: LDO7 {
269                                 regulator-name    269                                 regulator-name = "LDO7";
270                                 regulator-boot    270                                 regulator-boot-on;
271                         };                        271                         };
272                                                   272 
273                         /* ldo_1v8 */             273                         /* ldo_1v8 */
274                         ldo8_reg: LDO8 {          274                         ldo8_reg: LDO8 {
275                                 regulator-name    275                                 regulator-name = "LDO8";
276                                 regulator-min-    276                                 regulator-min-microvolt = <1800000>;
277                                 regulator-max-    277                                 regulator-max-microvolt = <1800000>;
278                                 regulator-boot    278                                 regulator-boot-on;
279                         };                        279                         };
280                                                   280 
281                         ldo9_reg: LDO9 {          281                         ldo9_reg: LDO9 {
282                                 regulator-name    282                                 regulator-name = "LDO9";
283                                 regulator-boot    283                                 regulator-boot-on;
284                         };                        284                         };
285                                                   285 
286                         ldo10_reg: LDO10 {        286                         ldo10_reg: LDO10 {
287                                 regulator-name    287                                 regulator-name = "LDO10";
288                                 regulator-boot    288                                 regulator-boot-on;
289                         };                        289                         };
290                                                   290 
291                         ldortc1_reg: LDORTC1      291                         ldortc1_reg: LDORTC1  {
292                                 regulator-name    292                                 regulator-name = "LDORTC1";
293                                 regulator-boot    293                                 regulator-boot-on;
294                         };                        294                         };
295                 };                                295                 };
296         };                                        296         };
297 };                                                297 };
298                                                   298 
299 &snvs_rtc {                                       299 &snvs_rtc {
300         /* we are using the rtc in the pmic, n    300         /* we are using the rtc in the pmic, not disabled in imx6sll.dtsi */
301         status = "disabled";                      301         status = "disabled";
302 };                                                302 };
303                                                   303 
304 &uart1 {                                          304 &uart1 {
305         status = "okay";                          305         status = "okay";
306 };                                                306 };
307                                                   307 
308 &usdhc1 {                                         308 &usdhc1 {
309         non-removable;                            309         non-removable;
310         no-1-8-v;                                 310         no-1-8-v;
311         status = "okay";                          311         status = "okay";
312 };                                                312 };
313                                                   313 
314 &usdhc3 {                                         314 &usdhc3 {
315         vmmc-supply = <&reg_wifi>;                315         vmmc-supply = <&reg_wifi>;
316         mmc-pwrseq = <&wifi_pwrseq>;              316         mmc-pwrseq = <&wifi_pwrseq>;
317         cap-power-off-card;                       317         cap-power-off-card;
318         non-removable;                            318         non-removable;
319         status = "okay";                          319         status = "okay";
320 };                                                320 };
321                                                   321 
322 &usbotg1 {                                        322 &usbotg1 {
323         pinctrl-names = "default";                323         pinctrl-names = "default";
324         pinctrl-0 = <&pinctrl_usbotg1>;           324         pinctrl-0 = <&pinctrl_usbotg1>;
325         disable-over-current;                     325         disable-over-current;
326         srp-disable;                              326         srp-disable;
327         hnp-disable;                              327         hnp-disable;
328         adp-disable;                              328         adp-disable;
329         status = "okay";                          329         status = "okay";
330 };                                                330 };
                                                      

~ [ 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