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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/marvell/armada-8040-db.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/arm64/marvell/armada-8040-db.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/marvell/armada-8040-db.dts (Version linux-4.12.14)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)  << 
  2 /*                                                  1 /*
  3  * Copyright (C) 2016 Marvell Technology Group      2  * Copyright (C) 2016 Marvell Technology Group Ltd.
  4  *                                                  3  *
                                                   >>   4  * This file is dual-licensed: you can use it either under the terms
                                                   >>   5  * of the GPLv2 or the X11 license, at your option. Note that this dual
                                                   >>   6  * licensing only applies to this file, and not this project as a
                                                   >>   7  * whole.
                                                   >>   8  *
                                                   >>   9  *  a) This library is free software; you can redistribute it and/or
                                                   >>  10  *     modify it under the terms of the GNU General Public License as
                                                   >>  11  *     published by the Free Software Foundation; either version 2 of the
                                                   >>  12  *     License, or (at your option) any later version.
                                                   >>  13  *
                                                   >>  14  *     This library is distributed in the hope that it will be useful,
                                                   >>  15  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  16  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  17  *     GNU General Public License for more details.
                                                   >>  18  *
                                                   >>  19  * Or, alternatively,
                                                   >>  20  *
                                                   >>  21  *  b) Permission is hereby granted, free of charge, to any person
                                                   >>  22  *     obtaining a copy of this software and associated documentation
                                                   >>  23  *     files (the "Software"), to deal in the Software without
                                                   >>  24  *     restriction, including without limitation the rights to use,
                                                   >>  25  *     copy, modify, merge, publish, distribute, sublicense, and/or
                                                   >>  26  *     sell copies of the Software, and to permit persons to whom the
                                                   >>  27  *     Software is furnished to do so, subject to the following
                                                   >>  28  *     conditions:
                                                   >>  29  *
                                                   >>  30  *     The above copyright notice and this permission notice shall be
                                                   >>  31  *     included in all copies or substantial portions of the Software.
                                                   >>  32  *
                                                   >>  33  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
                                                   >>  34  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
                                                   >>  35  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
                                                   >>  36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
                                                   >>  37  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
                                                   >>  38  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
                                                   >>  39  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
                                                   >>  40  *     OTHER DEALINGS IN THE SOFTWARE.
                                                   >>  41  */
                                                   >>  42 
                                                   >>  43 /*
  5  * Device Tree file for Marvell Armada 8040 De     44  * Device Tree file for Marvell Armada 8040 Development board platform
  6  */                                                45  */
  7                                                    46 
  8 #include <dt-bindings/gpio/gpio.h>             << 
  9 #include "armada-8040.dtsi"                        47 #include "armada-8040.dtsi"
 10                                                    48 
 11 / {                                                49 / {
 12         model = "Marvell Armada 8040 DB board"     50         model = "Marvell Armada 8040 DB board";
 13         compatible = "marvell,armada8040-db",      51         compatible = "marvell,armada8040-db", "marvell,armada8040",
 14                      "marvell,armada-ap806-qua     52                      "marvell,armada-ap806-quad", "marvell,armada-ap806";
 15                                                    53 
 16         chosen {                                   54         chosen {
 17                 stdout-path = "serial0:115200n     55                 stdout-path = "serial0:115200n8";
 18         };                                         56         };
 19                                                    57 
 20         memory@0 {                             !!  58         memory@00000000 {
 21                 device_type = "memory";            59                 device_type = "memory";
 22                 reg = <0x0 0x0 0x0 0x80000000>     60                 reg = <0x0 0x0 0x0 0x80000000>;
 23         };                                         61         };
                                                   >>  62 };
 24                                                    63 
 25         aliases {                              !!  64 &i2c0 {
 26                 ethernet0 = &cp0_eth0;         !!  65         status = "okay";
 27                 ethernet1 = &cp0_eth2;         !!  66         clock-frequency = <100000>;
 28                 ethernet2 = &cp1_eth0;         << 
 29                 ethernet3 = &cp1_eth1;         << 
 30                 i2c1 = &cp0_i2c0;              << 
 31                 i2c2 = &cp1_i2c0;              << 
 32         };                                     << 
 33                                                << 
 34         cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { << 
 35                 compatible = "regulator-fixed" << 
 36                 regulator-name = "cp0-usb3h0-v << 
 37                 regulator-min-microvolt = <500 << 
 38                 regulator-max-microvolt = <500 << 
 39                 enable-active-high;            << 
 40                 gpio = <&expander0 0 GPIO_ACTI << 
 41         };                                     << 
 42                                                << 
 43         cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus { << 
 44                 compatible = "regulator-fixed" << 
 45                 regulator-name = "cp0-usb3h1-v << 
 46                 regulator-min-microvolt = <500 << 
 47                 regulator-max-microvolt = <500 << 
 48                 enable-active-high;            << 
 49                 gpio = <&expander0 1 GPIO_ACTI << 
 50         };                                     << 
 51                                                << 
 52         cp0_usb3_0_phy: cp0-usb3-0-phy {       << 
 53                 compatible = "usb-nop-xceiv";  << 
 54                 vcc-supply = <&cp0_reg_usb3_0_ << 
 55         };                                     << 
 56                                                << 
 57         cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus { << 
 58                 compatible = "regulator-fixed" << 
 59                 regulator-name = "cp1-usb3h0-v << 
 60                 regulator-min-microvolt = <500 << 
 61                 regulator-max-microvolt = <500 << 
 62                 enable-active-high;            << 
 63                 gpio = <&expander1 0 GPIO_ACTI << 
 64         };                                     << 
 65                                                << 
 66         cp1_usb3_0_phy: cp1-usb3-0-phy {       << 
 67                 compatible = "usb-nop-xceiv";  << 
 68                 vcc-supply = <&cp1_reg_usb3_0_ << 
 69         };                                     << 
 70 };                                                 67 };
 71                                                    68 
 72 &spi0 {                                            69 &spi0 {
 73         status = "okay";                           70         status = "okay";
 74                                                    71 
 75         flash@0 {                              !!  72         spi-flash@0 {
                                                   >>  73                 #address-cells = <1>;
                                                   >>  74                 #size-cells = <1>;
 76                 compatible = "jedec,spi-nor";      75                 compatible = "jedec,spi-nor";
 77                 reg = <0>;                         76                 reg = <0>;
 78                 spi-max-frequency = <10000000>     77                 spi-max-frequency = <10000000>;
 79                                                    78 
 80                 partitions {                       79                 partitions {
 81                         compatible = "fixed-pa     80                         compatible = "fixed-partitions";
 82                         #address-cells = <1>;      81                         #address-cells = <1>;
 83                         #size-cells = <1>;         82                         #size-cells = <1>;
 84                                                    83 
 85                         partition@0 {              84                         partition@0 {
 86                                 label = "U-Boo     85                                 label = "U-Boot";
 87                                 reg = <0 0x200     86                                 reg = <0 0x200000>;
 88                         };                         87                         };
 89                         partition@400000 {         88                         partition@400000 {
 90                                 label = "Files     89                                 label = "Filesystem";
 91                                 reg = <0x20000     90                                 reg = <0x200000 0xce0000>;
 92                         };                         91                         };
 93                 };                                 92                 };
 94         };                                         93         };
 95 };                                                 94 };
 96                                                    95 
 97 /* Accessible over the mini-USB CON9 connector     96 /* Accessible over the mini-USB CON9 connector on the main board */
 98 &uart0 {                                           97 &uart0 {
 99         status = "okay";                           98         status = "okay";
100         pinctrl-0 = <&uart0_pins>;             << 
101         pinctrl-names = "default";             << 
102 };                                                 99 };
103                                                   100 
104 /* CON6 on CP0 expansion */                    << 
105 &cp0_pcie0 {                                   << 
106         phys = <&cp0_comphy0 0>;               << 
107         phy-names = "cp0-pcie0-x1-phy";        << 
108         status = "okay";                       << 
109 };                                             << 
110                                                   101 
111 /* CON5 on CP0 expansion */                       102 /* CON5 on CP0 expansion */
112 &cp0_pcie2 {                                   !! 103 &cpm_pcie2 {
113         phys = <&cp0_comphy5 2>;               << 
114         phy-names = "cp0-pcie2-x1-phy";        << 
115         status = "okay";                          104         status = "okay";
116 };                                                105 };
117                                                   106 
118 &cp0_i2c0 {                                    !! 107 &cpm_i2c0 {
119         status = "okay";                          108         status = "okay";
120         clock-frequency = <100000>;               109         clock-frequency = <100000>;
121                                                << 
122         /* U31 */                              << 
123         expander0: pca9555@21 {                << 
124                 compatible = "nxp,pca9555";    << 
125                 pinctrl-names = "default";     << 
126                 gpio-controller;               << 
127                 #gpio-cells = <2>;             << 
128                 reg = <0x21>;                  << 
129         };                                     << 
130                                                << 
131         /* U25 */                              << 
132         expander1: pca9555@25 {                << 
133                 compatible = "nxp,pca9555";    << 
134                 pinctrl-names = "default";     << 
135                 gpio-controller;               << 
136                 #gpio-cells = <2>;             << 
137                 reg = <0x25>;                  << 
138         };                                     << 
139                                                << 
140 };                                                110 };
141                                                   111 
142 /* CON4 on CP0 expansion */                       112 /* CON4 on CP0 expansion */
143 &cp0_sata0 {                                   !! 113 &cpm_sata0 {
144         status = "okay";                          114         status = "okay";
145                                                << 
146         sata-port@0 {                          << 
147                 phys = <&cp0_comphy1 0>;       << 
148                 phy-names = "cp0-sata0-0-phy"; << 
149         };                                     << 
150         sata-port@1 {                          << 
151                 phys = <&cp0_comphy3 1>;       << 
152                 phy-names = "cp0-sata0-1-phy"; << 
153         };                                     << 
154 };                                                115 };
155                                                   116 
156 /* CON9 on CP0 expansion */                       117 /* CON9 on CP0 expansion */
157 &cp0_utmi {                                    !! 118 &cpm_usb3_0 {
158         status = "okay";                       << 
159 };                                             << 
160                                                << 
161 &cp0_usb3_0 {                                  << 
162         usb-phy = <&cp0_usb3_0_phy>;           << 
163         phys = <&cp0_utmi0>;                   << 
164         phy-names = "utmi";                    << 
165         dr_mode = "host";                      << 
166         status = "okay";                          119         status = "okay";
167 };                                                120 };
168                                                   121 
169 &cp0_comphy4 {                                 << 
170         cp0_usbh1_con: connector {             << 
171                 compatible = "usb-a-connector" << 
172                 phy-supply = <&cp0_reg_usb3_1_ << 
173         };                                     << 
174 };                                             << 
175                                                << 
176 /* CON10 on CP0 expansion */                      122 /* CON10 on CP0 expansion */
177 &cp0_usb3_1 {                                  !! 123 &cpm_usb3_1 {
178         phys = <&cp0_comphy4 1>, <&cp0_utmi1>; << 
179         phy-names = "usb", "utmi";             << 
180         dr_mode = "host";                      << 
181         status = "okay";                          124         status = "okay";
182 };                                                125 };
183                                                   126 
184 &cp0_mdio {                                    !! 127 &cpm_mdio {
185         status = "okay";                       << 
186                                                << 
187         phy1: ethernet-phy@1 {                    128         phy1: ethernet-phy@1 {
188                 reg = <1>;                        129                 reg = <1>;
189         };                                        130         };
190 };                                                131 };
191                                                   132 
192 &cp0_ethernet {                                !! 133 &cpm_ethernet {
193         status = "okay";                       << 
194 };                                             << 
195                                                << 
196 &cp0_eth0 {                                    << 
197         status = "okay";                          134         status = "okay";
198         phy-mode = "10gbase-r";                << 
199                                                << 
200         fixed-link {                           << 
201                 speed = <10000>;               << 
202                 full-duplex;                   << 
203         };                                     << 
204 };                                                135 };
205                                                   136 
206 &cp0_eth2 {                                    !! 137 &cpm_eth2 {
207         status = "okay";                          138         status = "okay";
208         phy = <&phy1>;                            139         phy = <&phy1>;
209         phy-mode = "rgmii-id";                    140         phy-mode = "rgmii-id";
210 };                                                141 };
211                                                   142 
212 /* CON6 on CP1 expansion */                    !! 143 &cpm_crypto {
213 &cp1_pcie0 {                                   << 
214         phys = <&cp1_comphy0 0>;               << 
215         phy-names = "cp1-pcie0-x1-phy";        << 
216         status = "okay";                       << 
217 };                                             << 
218                                                << 
219 /* CON7 on CP1 expansion */                    << 
220 &cp1_pcie1 {                                   << 
221         phys = <&cp1_comphy4 1>;               << 
222         phy-names = "cp1-pcie1-x1-phy";        << 
223         status = "okay";                          144         status = "okay";
224 };                                                145 };
225                                                   146 
226 /* CON5 on CP1 expansion */                       147 /* CON5 on CP1 expansion */
227 &cp1_pcie2 {                                   !! 148 &cps_pcie2 {
228         phys = <&cp1_comphy5 2>;               << 
229         phy-names = "cp1-pcie2-x1-phy";        << 
230         status = "okay";                          149         status = "okay";
231 };                                                150 };
232                                                   151 
233 &cp1_i2c0 {                                    !! 152 &cps_i2c0 {
234         status = "okay";                          153         status = "okay";
235         clock-frequency = <100000>;               154         clock-frequency = <100000>;
236 };                                                155 };
237                                                   156 
238 &cp1_spi1 {                                    << 
239         status = "okay";                       << 
240                                                << 
241         flash@0 {                              << 
242                 compatible = "jedec,spi-nor";  << 
243                 reg = <0x0>;                   << 
244                 spi-max-frequency = <20000000> << 
245                                                << 
246                 partitions {                   << 
247                         compatible = "fixed-pa << 
248                         #address-cells = <1>;  << 
249                         #size-cells = <1>;     << 
250                                                << 
251                         partition@0 {          << 
252                                 label = "Boot" << 
253                                 reg = <0x0 0x2 << 
254                         };                     << 
255                         partition@200000 {     << 
256                                 label = "Files << 
257                                 reg = <0x20000 << 
258                         };                     << 
259                         partition@f00000 {     << 
260                                 label = "Boot_ << 
261                                 reg = <0xf0000 << 
262                         };                     << 
263                 };                             << 
264         };                                     << 
265 };                                             << 
266                                                << 
267 /*                                             << 
268  * Proper NAND usage will require DPR-76 to be << 
269  * MDIO signal of CP1.                         << 
270  */                                            << 
271 &cp1_nand_controller {                         << 
272         pinctrl-0 = <&nand_pins>, <&nand_rb>;  << 
273         pinctrl-names = "default";             << 
274                                                << 
275         nand@0 {                               << 
276                 reg = <0>;                     << 
277                 nand-rb = <0>;                 << 
278                 nand-on-flash-bbt;             << 
279                 nand-ecc-strength = <4>;       << 
280                 nand-ecc-step-size = <512>;    << 
281                                                << 
282                 partitions {                   << 
283                         compatible = "fixed-pa << 
284                         #address-cells = <1>;  << 
285                         #size-cells = <1>;     << 
286                                                << 
287                         partition@0 {          << 
288                                 label = "U-Boo << 
289                                 reg = <0 0x200 << 
290                         };                     << 
291                         partition@200000 {     << 
292                                 label = "Linux << 
293                                 reg = <0x20000 << 
294                         };                     << 
295                         partition@1000000 {    << 
296                                 label = "Files << 
297                                 reg = <0x10000 << 
298                         };                     << 
299                 };                             << 
300         };                                     << 
301 };                                             << 
302                                                << 
303 /* CON4 on CP1 expansion */                       157 /* CON4 on CP1 expansion */
304 &cp1_sata0 {                                   !! 158 &cps_sata0 {
305         status = "okay";                       << 
306                                                << 
307         sata-port@0 {                          << 
308                 phys = <&cp1_comphy1 0>;       << 
309                 phy-names = "cp1-sata0-0-phy"; << 
310         };                                     << 
311         sata-port@1 {                          << 
312                 phys = <&cp1_comphy3 1>;       << 
313                 phy-names = "cp1-sata0-1-phy"; << 
314         };                                     << 
315 };                                             << 
316                                                << 
317 &cp1_utmi {                                    << 
318         status = "okay";                          159         status = "okay";
319 };                                                160 };
320                                                   161 
321 /* CON9 on CP1 expansion */                       162 /* CON9 on CP1 expansion */
322 &cp1_usb3_0 {                                  !! 163 &cps_usb3_0 {
323         usb-phy = <&cp1_usb3_0_phy>;           << 
324         phys = <&cp1_utmi0>;                   << 
325         phy-names = "utmi";                    << 
326         dr_mode = "host";                      << 
327         status = "okay";                          164         status = "okay";
328 };                                                165 };
329                                                   166 
330 /* CON10 on CP1 expansion */                      167 /* CON10 on CP1 expansion */
331 &cp1_usb3_1 {                                  !! 168 &cps_usb3_1 {
332         phys = <&cp1_utmi1>;                   << 
333         phy-names = "utmi";                    << 
334         status = "okay";                       << 
335 };                                             << 
336                                                << 
337 &cp1_mdio {                                    << 
338         status = "okay";                       << 
339                                                << 
340         phy0: ethernet-phy@0 {                 << 
341                 reg = <0>;                     << 
342         };                                     << 
343 };                                             << 
344                                                << 
345 &cp1_ethernet {                                << 
346         status = "okay";                       << 
347 };                                             << 
348                                                << 
349 &cp1_eth0 {                                    << 
350         status = "okay";                          169         status = "okay";
351         phy-mode = "10gbase-r";                << 
352                                                << 
353         fixed-link {                           << 
354                 speed = <10000>;               << 
355                 full-duplex;                   << 
356         };                                     << 
357 };                                             << 
358                                                << 
359 &cp1_eth1 {                                    << 
360         status = "okay";                       << 
361         phy = <&phy0>;                         << 
362         phy-mode = "rgmii-id";                 << 
363 };                                                170 };
364                                                   171 
365 &ap_sdhci0 {                                      172 &ap_sdhci0 {
366         status = "okay";                          173         status = "okay";
367         bus-width = <4>;                          174         bus-width = <4>;
368         non-removable;                            175         non-removable;
369 };                                                176 };
370                                                   177 
371 &cp0_sdhci0 {                                  !! 178 &cpm_sdhci0 {
372         status = "okay";                          179         status = "okay";
373         bus-width = <8>;                          180         bus-width = <8>;
374         non-removable;                            181         non-removable;
375 };                                                182 };
                                                      

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