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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nvidia/tegra124-apalis-eval.dts

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/nvidia/tegra124-apalis-eval.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/nvidia/tegra124-apalis-eval.dts (Architecture sparc)


  1 // SPDX-License-Identifier: GPL-2.0 OR X11          1 // SPDX-License-Identifier: GPL-2.0 OR X11
  2 /*                                                  2 /*
  3  * Copyright 2016-2019 Toradex AG                   3  * Copyright 2016-2019 Toradex AG
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include <dt-bindings/input/input.h>                8 #include <dt-bindings/input/input.h>
  9 #include "tegra124-apalis.dtsi"                     9 #include "tegra124-apalis.dtsi"
 10                                                    10 
 11 / {                                                11 / {
 12         model = "Toradex Apalis TK1 on Apalis      12         model = "Toradex Apalis TK1 on Apalis Evaluation Board";
 13         compatible = "toradex,apalis-tk1-eval"     13         compatible = "toradex,apalis-tk1-eval", "toradex,apalis-tk1",
 14                      "nvidia,tegra124";            14                      "nvidia,tegra124";
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 rtc0 = "/i2c@7000c000/rtc@68";     17                 rtc0 = "/i2c@7000c000/rtc@68";
 18                 rtc1 = "/i2c@7000d000/pmic@40"     18                 rtc1 = "/i2c@7000d000/pmic@40";
 19                 rtc2 = "/rtc@7000e000";            19                 rtc2 = "/rtc@7000e000";
 20                 serial0 = &uarta;                  20                 serial0 = &uarta;
 21                 serial1 = &uartb;                  21                 serial1 = &uartb;
 22                 serial2 = &uartc;                  22                 serial2 = &uartc;
 23                 serial3 = &uartd;                  23                 serial3 = &uartd;
 24         };                                         24         };
 25                                                    25 
 26         chosen {                                   26         chosen {
 27                 stdout-path = "serial0:115200n     27                 stdout-path = "serial0:115200n8";
 28         };                                         28         };
 29                                                    29 
 30         pcie@1003000 {                             30         pcie@1003000 {
 31                 pci@1,0 {                          31                 pci@1,0 {
 32                         status = "okay";           32                         status = "okay";
 33                 };                                 33                 };
 34         };                                         34         };
 35                                                    35 
 36         host1x@50000000 {                          36         host1x@50000000 {
 37                 hdmi@54280000 {                    37                 hdmi@54280000 {
 38                         status = "okay";           38                         status = "okay";
 39                         hdmi-supply = <&reg_5v     39                         hdmi-supply = <&reg_5v0>;
 40                 };                                 40                 };
 41         };                                         41         };
 42                                                    42 
 43         gpio: gpio@6000d000 {                      43         gpio: gpio@6000d000 {
 44                 /* Apalis GPIO7 MXM3 pin 15 PL     44                 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
 45                 pex-perst-n-hog {                  45                 pex-perst-n-hog {
 46                         gpio-hog;                  46                         gpio-hog;
 47                         gpios = <TEGRA_GPIO(DD     47                         gpios = <TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
 48                         output-high;               48                         output-high;
 49                         line-name = "PEX_PERST     49                         line-name = "PEX_PERST_N";
 50                 };                                 50                 };
 51         };                                         51         };
 52                                                    52 
 53         /* Apalis UART1 */                         53         /* Apalis UART1 */
 54         serial@70006000 {                          54         serial@70006000 {
 55                 /delete-property/ dmas;            55                 /delete-property/ dmas;
 56                 /delete-property/ dma-names;       56                 /delete-property/ dma-names;
 57                 status = "okay";                   57                 status = "okay";
 58         };                                         58         };
 59                                                    59 
 60         /* Apalis UART2 */                         60         /* Apalis UART2 */
 61         serial@70006040 {                          61         serial@70006040 {
 62                 status = "okay";                   62                 status = "okay";
 63         };                                         63         };
 64                                                    64 
 65         /* Apalis UART3 */                         65         /* Apalis UART3 */
 66         serial@70006200 {                          66         serial@70006200 {
 67                 status = "okay";                   67                 status = "okay";
 68         };                                         68         };
 69                                                    69 
 70         /* Apalis UART4 */                         70         /* Apalis UART4 */
 71         serial@70006300 {                          71         serial@70006300 {
 72                 status = "okay";                   72                 status = "okay";
 73         };                                         73         };
 74                                                    74 
 75         pwm@7000a000 {                             75         pwm@7000a000 {
 76                 status = "okay";                   76                 status = "okay";
 77         };                                         77         };
 78                                                    78 
 79         /*                                         79         /*
 80          * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin      80          * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
 81          * board)                                  81          * board)
 82          */                                        82          */
 83         i2c@7000c000 {                             83         i2c@7000c000 {
 84                 status = "okay";                   84                 status = "okay";
 85                 clock-frequency = <400000>;        85                 clock-frequency = <400000>;
 86                                                    86 
 87                 pcie-switch@58 {                   87                 pcie-switch@58 {
 88                         compatible = "plx,pex8     88                         compatible = "plx,pex8605";
 89                         reg = <0x58>;              89                         reg = <0x58>;
 90                 };                                 90                 };
 91                                                    91 
 92                 /* M41T0M6 real time clock on      92                 /* M41T0M6 real time clock on carrier board */
 93                 rtc@68 {                           93                 rtc@68 {
 94                         compatible = "st,m41t0     94                         compatible = "st,m41t0";
 95                         reg = <0x68>;              95                         reg = <0x68>;
 96                 };                                 96                 };
 97         };                                         97         };
 98                                                    98 
 99         /*                                         99         /*
100          * GEN2_I2C: I2C2_SDA/SCL (DDC) on MXM    100          * GEN2_I2C: I2C2_SDA/SCL (DDC) on MXM3 pin 205/207 (e.g. display EDID)
101          */                                       101          */
102         i2c@7000c400 {                            102         i2c@7000c400 {
103                 status = "okay";                  103                 status = "okay";
104         };                                        104         };
105                                                   105 
106         /*                                        106         /*
107          * CAM_I2C: I2C3_SDA/SCL (CAM) on MXM3    107          * CAM_I2C: I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor
108          * on carrier board)                      108          * on carrier board)
109          */                                       109          */
110         i2c@7000c500 {                            110         i2c@7000c500 {
111                 status = "okay";                  111                 status = "okay";
112                 clock-frequency = <400000>;       112                 clock-frequency = <400000>;
113         };                                        113         };
114                                                   114 
115         /* I2C4 (DDC): unused */                  115         /* I2C4 (DDC): unused */
116                                                   116 
117         /* SPI1: Apalis SPI1 */                   117         /* SPI1: Apalis SPI1 */
118         spi@7000d400 {                            118         spi@7000d400 {
119                 status = "okay";                  119                 status = "okay";
120                 spi-max-frequency = <50000000>    120                 spi-max-frequency = <50000000>;
121         };                                        121         };
122                                                   122 
123         /* SPI4: Apalis SPI2 */                   123         /* SPI4: Apalis SPI2 */
124         spi@7000da00 {                            124         spi@7000da00 {
125                 status = "okay";                  125                 status = "okay";
126                 spi-max-frequency = <50000000>    126                 spi-max-frequency = <50000000>;
127         };                                        127         };
128                                                   128 
129         /* Apalis Serial ATA */                   129         /* Apalis Serial ATA */
130         sata@70020000 {                           130         sata@70020000 {
131                 status = "okay";                  131                 status = "okay";
132                 target-5v-supply = <&reg_5v0>;    132                 target-5v-supply = <&reg_5v0>;
133                 target-12v-supply = <&reg_12v0    133                 target-12v-supply = <&reg_12v0>;
134         };                                        134         };
135                                                   135 
136         hda@70030000 {                            136         hda@70030000 {
137                 status = "okay";                  137                 status = "okay";
138         };                                        138         };
139                                                   139 
140         usb@70090000 {                            140         usb@70090000 {
141                 status = "okay";                  141                 status = "okay";
142         };                                        142         };
143                                                   143 
144         /* Apalis MMC1 */                         144         /* Apalis MMC1 */
145         mmc@700b0000 {                            145         mmc@700b0000 {
146                 status = "okay";                  146                 status = "okay";
147                 bus-width = <4>;                  147                 bus-width = <4>;
148                 /* MMC1_CD# */                    148                 /* MMC1_CD# */
149                 cd-gpios = <&gpio TEGRA_GPIO(V    149                 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
150                 vqmmc-supply = <&vddio_sdmmc1>    150                 vqmmc-supply = <&vddio_sdmmc1>;
151         };                                        151         };
152                                                   152 
153         /* Apalis SD1 */                          153         /* Apalis SD1 */
154         mmc@700b0400 {                            154         mmc@700b0400 {
155                 status = "okay";                  155                 status = "okay";
156                 bus-width = <4>;                  156                 bus-width = <4>;
157                 /* SD1_CD# */                     157                 /* SD1_CD# */
158                 cd-gpios = <&gpio TEGRA_GPIO(V    158                 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
159                 vqmmc-supply = <&vddio_sdmmc3>    159                 vqmmc-supply = <&vddio_sdmmc3>;
160         };                                        160         };
161                                                   161 
162         /* EHCI instance 0: USB1_DP/N -> USBO1    162         /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
163         usb@7d000000 {                            163         usb@7d000000 {
164                 status = "okay";                  164                 status = "okay";
165                 dr_mode = "otg";                  165                 dr_mode = "otg";
166         };                                        166         };
167                                                   167 
168         usb-phy@7d000000 {                        168         usb-phy@7d000000 {
169                 status = "okay";                  169                 status = "okay";
170                 vbus-supply = <&reg_usbo1_vbus    170                 vbus-supply = <&reg_usbo1_vbus>;
171         };                                        171         };
172                                                   172 
173         /* EHCI instance 1: USB2_DP/N -> USBH2    173         /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
174         usb@7d004000 {                            174         usb@7d004000 {
175                 status = "okay";                  175                 status = "okay";
176         };                                        176         };
177                                                   177 
178         usb-phy@7d004000 {                        178         usb-phy@7d004000 {
179                 status = "okay";                  179                 status = "okay";
180                 vbus-supply = <&reg_usbh_vbus>    180                 vbus-supply = <&reg_usbh_vbus>;
181         };                                        181         };
182                                                   182 
183         /* EHCI instance 2: USB3_DP/N -> USBH4    183         /* EHCI instance 2: USB3_DP/N -> USBH4_DP/N */
184         usb@7d008000 {                            184         usb@7d008000 {
185                 status = "okay";                  185                 status = "okay";
186         };                                        186         };
187                                                   187 
188         usb-phy@7d008000 {                        188         usb-phy@7d008000 {
189                 status = "okay";                  189                 status = "okay";
190                 vbus-supply = <&reg_usbh_vbus>    190                 vbus-supply = <&reg_usbh_vbus>;
191         };                                        191         };
192                                                   192 
193         backlight: backlight {                    193         backlight: backlight {
194                 compatible = "pwm-backlight";     194                 compatible = "pwm-backlight";
195                 brightness-levels = <255 231 2    195                 brightness-levels = <255 231 223 207 191 159 127 0>;
196                 default-brightness-level = <6>    196                 default-brightness-level = <6>;
197                 /* BKL1_ON */                     197                 /* BKL1_ON */
198                 enable-gpios = <&gpio TEGRA_GP    198                 enable-gpios = <&gpio TEGRA_GPIO(BB, 5) GPIO_ACTIVE_HIGH>;
199                 power-supply = <&reg_3v3>;        199                 power-supply = <&reg_3v3>;
200                 pwms = <&pwm 3 5000000>; /* BK    200                 pwms = <&pwm 3 5000000>; /* BKL1_PWM */
201         };                                        201         };
202                                                   202 
203         gpio-keys {                               203         gpio-keys {
204                 compatible = "gpio-keys";         204                 compatible = "gpio-keys";
205                                                   205 
206                 key-wakeup {                      206                 key-wakeup {
207                         label = "WAKE1_MICO";     207                         label = "WAKE1_MICO";
208                         gpios = <&gpio TEGRA_G    208                         gpios = <&gpio TEGRA_GPIO(DD, 3) GPIO_ACTIVE_LOW>;
209                         linux,code = <KEY_WAKE    209                         linux,code = <KEY_WAKEUP>;
210                         debounce-interval = <1    210                         debounce-interval = <10>;
211                         wakeup-source;            211                         wakeup-source;
212                 };                                212                 };
213         };                                        213         };
214                                                   214 
215         reg_3v3: regulator-3v3 {                  215         reg_3v3: regulator-3v3 {
216                 compatible = "regulator-fixed"    216                 compatible = "regulator-fixed";
217                 regulator-name = "3.3V_SW";       217                 regulator-name = "3.3V_SW";
218                 regulator-min-microvolt = <330    218                 regulator-min-microvolt = <3300000>;
219                 regulator-max-microvolt = <330    219                 regulator-max-microvolt = <3300000>;
220         };                                        220         };
221                                                   221 
222         reg_5v0: regulator-5v0 {                  222         reg_5v0: regulator-5v0 {
223                 compatible = "regulator-fixed"    223                 compatible = "regulator-fixed";
224                 regulator-name = "5V_SW";         224                 regulator-name = "5V_SW";
225                 regulator-min-microvolt = <500    225                 regulator-min-microvolt = <5000000>;
226                 regulator-max-microvolt = <500    226                 regulator-max-microvolt = <5000000>;
227         };                                        227         };
228                                                   228 
229         reg_12v0: regulator-12v0 {                229         reg_12v0: regulator-12v0 {
230                 compatible = "regulator-fixed"    230                 compatible = "regulator-fixed";
231                 regulator-name = "12V_SW";        231                 regulator-name = "12V_SW";
232                 regulator-min-microvolt = <120    232                 regulator-min-microvolt = <12000000>;
233                 regulator-max-microvolt = <120    233                 regulator-max-microvolt = <12000000>;
234         };                                        234         };
235                                                   235 
236         /* USBO1_EN */                            236         /* USBO1_EN */
237         reg_usbo1_vbus: regulator-usbo1-vbus {    237         reg_usbo1_vbus: regulator-usbo1-vbus {
238                 compatible = "regulator-fixed"    238                 compatible = "regulator-fixed";
239                 regulator-name = "VCC_USBO1";     239                 regulator-name = "VCC_USBO1";
240                 regulator-min-microvolt = <500    240                 regulator-min-microvolt = <5000000>;
241                 regulator-max-microvolt = <500    241                 regulator-max-microvolt = <5000000>;
242                 gpio = <&gpio TEGRA_GPIO(N, 4)    242                 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
243                 enable-active-high;               243                 enable-active-high;
244                 vin-supply = <&reg_5v0>;          244                 vin-supply = <&reg_5v0>;
245         };                                        245         };
246                                                   246 
247         /* USBH_EN */                             247         /* USBH_EN */
248         reg_usbh_vbus: regulator-usbh-vbus {      248         reg_usbh_vbus: regulator-usbh-vbus {
249                 compatible = "regulator-fixed"    249                 compatible = "regulator-fixed";
250                 regulator-name = "VCC_USBH(2A|    250                 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
251                 regulator-min-microvolt = <500    251                 regulator-min-microvolt = <5000000>;
252                 regulator-max-microvolt = <500    252                 regulator-max-microvolt = <5000000>;
253                 gpio = <&gpio TEGRA_GPIO(N, 5)    253                 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
254                 enable-active-high;               254                 enable-active-high;
255                 vin-supply = <&reg_5v0>;          255                 vin-supply = <&reg_5v0>;
256         };                                        256         };
257 };                                                257 };
                                                      

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