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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/powerpc/mgcoge.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/powerpc/mgcoge.dts (Architecture m68k) and /scripts/dtc/include-prefixes/powerpc/mgcoge.dts (Architecture ppc)


  1 // SPDX-License-Identifier: GPL-2.0-or-later        1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 /*                                                  2 /*
  3  * Device Tree for the MGCOGE plattform from k      3  * Device Tree for the MGCOGE plattform from keymile
  4  *                                                  4  *
  5  * Copyright 2008 DENX Software Engineering Gm      5  * Copyright 2008 DENX Software Engineering GmbH
  6  * Heiko Schocher <hs@denx.de>                       6  * Heiko Schocher <hs@denx.de>
  7  */                                                 7  */
  8                                                     8 
  9 /dts-v1/;                                           9 /dts-v1/;
 10 / {                                                10 / {
 11         model = "MGCOGE";                          11         model = "MGCOGE";
 12         compatible = "keymile,km82xx";             12         compatible = "keymile,km82xx";
 13         #address-cells = <1>;                      13         #address-cells = <1>;
 14         #size-cells = <1>;                         14         #size-cells = <1>;
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 ethernet0 = &eth0;                 17                 ethernet0 = &eth0;
 18                 serial0 = &smc2;                   18                 serial0 = &smc2;
 19         };                                         19         };
 20                                                    20 
 21         cpus {                                     21         cpus {
 22                 #address-cells = <1>;              22                 #address-cells = <1>;
 23                 #size-cells = <0>;                 23                 #size-cells = <0>;
 24                                                    24 
 25                 PowerPC,8247@0 {                   25                 PowerPC,8247@0 {
 26                         device_type = "cpu";       26                         device_type = "cpu";
 27                         reg = <0>;                 27                         reg = <0>;
 28                         d-cache-line-size = <3     28                         d-cache-line-size = <32>;
 29                         i-cache-line-size = <3     29                         i-cache-line-size = <32>;
 30                         d-cache-size = <16384>     30                         d-cache-size = <16384>;
 31                         i-cache-size = <16384>     31                         i-cache-size = <16384>;
 32                         timebase-frequency = <     32                         timebase-frequency = <0>; /* Filled in by U-Boot */
 33                         clock-frequency = <0>;     33                         clock-frequency = <0>; /* Filled in by U-Boot */
 34                         bus-frequency = <0>; /     34                         bus-frequency = <0>; /* Filled in by U-Boot */
 35                 };                                 35                 };
 36         };                                         36         };
 37                                                    37 
 38         localbus@f0010100 {                        38         localbus@f0010100 {
 39                 compatible = "fsl,mpc8247-loca     39                 compatible = "fsl,mpc8247-localbus",
 40                              "fsl,pq2-localbus     40                              "fsl,pq2-localbus",
 41                              "simple-bus";         41                              "simple-bus";
 42                 #address-cells = <2>;              42                 #address-cells = <2>;
 43                 #size-cells = <1>;                 43                 #size-cells = <1>;
 44                 reg = <0xf0010100 0x40>;           44                 reg = <0xf0010100 0x40>;
 45                                                    45 
 46                 ranges = <0 0 0xfe000000 0x004     46                 ranges = <0 0 0xfe000000 0x00400000
 47                           1 0 0x30000000 0x000     47                           1 0 0x30000000 0x00010000
 48                           2 0 0x40000000 0x000     48                           2 0 0x40000000 0x00010000
 49                           5 0 0x50000000 0x040     49                           5 0 0x50000000 0x04000000
 50                         >;                         50                         >;
 51                                                    51 
 52                 flash@0,0 {                        52                 flash@0,0 {
 53                         compatible = "cfi-flas     53                         compatible = "cfi-flash";
 54                         reg = <0 0x0 0x400000>     54                         reg = <0 0x0 0x400000>;
 55                         #address-cells = <1>;      55                         #address-cells = <1>;
 56                         #size-cells = <1>;         56                         #size-cells = <1>;
 57                         bank-width = <1>;          57                         bank-width = <1>;
 58                         device-width = <1>;        58                         device-width = <1>;
 59                         partition@0 {              59                         partition@0 {
 60                                 label = "u-boo     60                                 label = "u-boot";
 61                                 reg = <0x00000     61                                 reg = <0x00000 0xC0000>;
 62                         };                         62                         };
 63                         partition@1 {              63                         partition@1 {
 64                                 label = "env";     64                                 label = "env";
 65                                 reg = <0xC0000     65                                 reg = <0xC0000 0x20000>;
 66                         };                         66                         };
 67                         partition@2 {              67                         partition@2 {
 68                                 label = "envre     68                                 label = "envred";
 69                                 reg = <0xE0000     69                                 reg = <0xE0000 0x20000>;
 70                         };                         70                         };
 71                         partition@3 {              71                         partition@3 {
 72                                 label = "free"     72                                 label = "free";
 73                                 reg = <0x10000     73                                 reg = <0x100000 0x300000>;
 74                         };                         74                         };
 75                 };                                 75                 };
 76                                                    76 
 77                 flash@5,0 {                        77                 flash@5,0 {
 78                         compatible = "cfi-flas     78                         compatible = "cfi-flash";
 79                         reg = <5 0x00000000 0x     79                         reg = <5 0x00000000 0x02000000
 80                                5 0x02000000 0x     80                                5 0x02000000 0x02000000>;
 81                         #address-cells = <1>;      81                         #address-cells = <1>;
 82                         #size-cells = <1>;         82                         #size-cells = <1>;
 83                         bank-width = <2>;          83                         bank-width = <2>;
 84                         partition@app { /* 64      84                         partition@app { /* 64 MBytes */
 85                                 label = "ubi0"     85                                 label = "ubi0";
 86                                 reg = <0x00000     86                                 reg = <0x00000000 0x04000000>;
 87                         };                         87                         };
 88                 };                                 88                 };
 89         };                                         89         };
 90                                                    90 
 91         memory {                                   91         memory {
 92                 device_type = "memory";            92                 device_type = "memory";
 93                 reg = <0 0>; /* Filled in by U     93                 reg = <0 0>; /* Filled in by U-Boot */
 94         };                                         94         };
 95                                                    95 
 96         soc@f0000000 {                             96         soc@f0000000 {
 97                 #address-cells = <1>;              97                 #address-cells = <1>;
 98                 #size-cells = <1>;                 98                 #size-cells = <1>;
 99                 compatible = "fsl,mpc8247-immr     99                 compatible = "fsl,mpc8247-immr", "fsl,pq2-soc", "simple-bus";
100                 ranges = <0x00000000 0xf000000    100                 ranges = <0x00000000 0xf0000000 0x00053000>;
101                                                   101 
102                 // Temporary until code stops     102                 // Temporary until code stops depending on it.
103                 device_type = "soc";              103                 device_type = "soc";
104                                                   104 
105                 cpm@119c0 {                       105                 cpm@119c0 {
106                         #address-cells = <1>;     106                         #address-cells = <1>;
107                         #size-cells = <1>;        107                         #size-cells = <1>;
108                         #interrupt-cells = <2>    108                         #interrupt-cells = <2>;
109                         compatible = "fsl,mpc8    109                         compatible = "fsl,mpc8247-cpm", "fsl,cpm2",
110                                         "simpl    110                                         "simple-bus";
111                         reg = <0x119c0 0x30>;     111                         reg = <0x119c0 0x30>;
112                         ranges;                   112                         ranges;
113                                                   113 
114                         muram {                   114                         muram {
115                                 compatible = "    115                                 compatible = "fsl,cpm-muram";
116                                 #address-cells    116                                 #address-cells = <1>;
117                                 #size-cells =     117                                 #size-cells = <1>;
118                                 ranges = <0 0     118                                 ranges = <0 0 0x10000>;
119                                                   119 
120                                 data@0 {          120                                 data@0 {
121                                         compat    121                                         compatible = "fsl,cpm-muram-data";
122                                         reg =     122                                         reg = <0x80 0x1f80 0x9800 0x800>;
123                                 };                123                                 };
124                         };                        124                         };
125                                                   125 
126                         brg@119f0 {               126                         brg@119f0 {
127                                 compatible = "    127                                 compatible = "fsl,mpc8247-brg",
128                                              "    128                                              "fsl,cpm2-brg",
129                                              "    129                                              "fsl,cpm-brg";
130                                 reg = <0x119f0    130                                 reg = <0x119f0 0x10 0x115f0 0x10>;
131                         };                        131                         };
132                                                   132 
133                         /* Monitor port/SMC2 *    133                         /* Monitor port/SMC2 */
134                         smc2: serial@11a90 {      134                         smc2: serial@11a90 {
135                                 device_type =     135                                 device_type = "serial";
136                                 compatible = "    136                                 compatible = "fsl,mpc8247-smc-uart",
137                                              "    137                                              "fsl,cpm2-smc-uart";
138                                 reg = <0x11a90    138                                 reg = <0x11a90 0x20 0x88fc 0x02>;
139                                 interrupts = <    139                                 interrupts = <5 8>;
140                                 interrupt-pare    140                                 interrupt-parent = <&PIC>;
141                                 fsl,cpm-brg =     141                                 fsl,cpm-brg = <2>;
142                                 fsl,cpm-comman    142                                 fsl,cpm-command = <0x21200000>;
143                                 current-speed     143                                 current-speed = <0>; /* Filled in by U-Boot */
144                         };                        144                         };
145                                                   145 
146                         eth0: ethernet@11a60 {    146                         eth0: ethernet@11a60 {
147                                 device_type =     147                                 device_type = "network";
148                                 compatible = "    148                                 compatible = "fsl,mpc8247-scc-enet",
149                                              "    149                                              "fsl,cpm2-scc-enet";
150                                 reg = <0x11a60    150                                 reg = <0x11a60 0x20 0x8300 0x100 0x11390 1>;
151                                 local-mac-addr    151                                 local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by U-Boot */
152                                 interrupts = <    152                                 interrupts = <43 8>;
153                                 interrupt-pare    153                                 interrupt-parent = <&PIC>;
154                                 linux,network-    154                                 linux,network-index = <0>;
155                                 fsl,cpm-comman    155                                 fsl,cpm-command = <0xce00000>;
156                                 fixed-link = <    156                                 fixed-link = <0 0 10 0 0>;
157                         };                        157                         };
158                                                   158 
159                         i2c@11860 {               159                         i2c@11860 {
160                                 compatible = "    160                                 compatible = "fsl,mpc8272-i2c",
161                                              "    161                                              "fsl,cpm2-i2c";
162                                 reg = <0x11860    162                                 reg = <0x11860 0x20 0x8afc 0x2>;
163                                 interrupts = <    163                                 interrupts = <1 8>;
164                                 interrupt-pare    164                                 interrupt-parent = <&PIC>;
165                                 fsl,cpm-comman    165                                 fsl,cpm-command = <0x29600000>;
166                                 #address-cells    166                                 #address-cells = <1>;
167                                 #size-cells =     167                                 #size-cells = <0>;
168                         };                        168                         };
169                                                   169 
170                         mdio@10d40 {              170                         mdio@10d40 {
171                                 compatible = "    171                                 compatible = "fsl,cpm2-mdio-bitbang";
172                                 reg = <0x10d00    172                                 reg = <0x10d00 0x14>;
173                                 #address-cells    173                                 #address-cells = <1>;
174                                 #size-cells =     174                                 #size-cells = <0>;
175                                 fsl,mdio-pin =    175                                 fsl,mdio-pin = <12>;
176                                 fsl,mdc-pin =     176                                 fsl,mdc-pin = <13>;
177                                                   177 
178                                 phy0: ethernet    178                                 phy0: ethernet-phy@0 {
179                                         reg =     179                                         reg = <0x0>;
180                                 };                180                                 };
181                                                   181 
182                                 phy1: ethernet    182                                 phy1: ethernet-phy@1 {
183                                         reg =     183                                         reg = <0x1>;
184                                 };                184                                 };
185                         };                        185                         };
186                                                   186 
187                         /* FCC1 management to     187                         /* FCC1 management to switch */
188                         ethernet@11300 {          188                         ethernet@11300 {
189                                 device_type =     189                                 device_type = "network";
190                                 compatible = "    190                                 compatible = "fsl,cpm2-fcc-enet";
191                                 reg = <0x11300    191                                 reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>;
192                                 local-mac-addr    192                                 local-mac-address = [ 00 01 02 03 04 07 ];
193                                 interrupts = <    193                                 interrupts = <32 8>;
194                                 interrupt-pare    194                                 interrupt-parent = <&PIC>;
195                                 phy-handle = <    195                                 phy-handle = <&phy0>;
196                                 linux,network-    196                                 linux,network-index = <1>;
197                                 fsl,cpm-comman    197                                 fsl,cpm-command = <0x12000300>;
198                         };                        198                         };
199                                                   199 
200                         /* FCC2 to redundant c    200                         /* FCC2 to redundant core unit over backplane */
201                         ethernet@11320 {          201                         ethernet@11320 {
202                                 device_type =     202                                 device_type = "network";
203                                 compatible = "    203                                 compatible = "fsl,cpm2-fcc-enet";
204                                 reg = <0x11320    204                                 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
205                                 local-mac-addr    205                                 local-mac-address = [ 00 01 02 03 04 08 ];
206                                 interrupts = <    206                                 interrupts = <33 8>;
207                                 interrupt-pare    207                                 interrupt-parent = <&PIC>;
208                                 phy-handle = <    208                                 phy-handle = <&phy1>;
209                                 linux,network-    209                                 linux,network-index = <2>;
210                                 fsl,cpm-comman    210                                 fsl,cpm-command = <0x16200300>;
211                         };                        211                         };
212                                                   212 
213                         usb@11b60 {               213                         usb@11b60 {
214                                 compatible = "    214                                 compatible = "fsl,mpc8272-cpm-usb";
215                                 mode = "periph    215                                 mode = "peripheral";
216                                 reg = <0x11b60    216                                 reg = <0x11b60 0x40 0x8b00 0x100>;
217                                 interrupts = <    217                                 interrupts = <11 8>;
218                                 interrupt-pare    218                                 interrupt-parent = <&PIC>;
219                                 usb-clock = <5    219                                 usb-clock = <5>;
220                         };                        220                         };
221                         spi@11aa0 {               221                         spi@11aa0 {
222                                 cell-index = <    222                                 cell-index = <0>;
223                                 compatible = "    223                                 compatible = "fsl,spi", "fsl,cpm2-spi";
224                                 reg = <0x11a80    224                                 reg = <0x11a80 0x40 0x89fc 0x2>;
225                                 interrupts = <    225                                 interrupts = <2 8>;
226                                 interrupt-pare    226                                 interrupt-parent = <&PIC>;
227                                 cs-gpios = < &    227                                 cs-gpios = < &cpm2_pio_d 19 0>;
228                         };                        228                         };
229                                                   229 
230                 };                                230                 };
231                                                   231 
232                 cpm2_pio_d: gpio-controller@10    232                 cpm2_pio_d: gpio-controller@10d60 {
233                         #gpio-cells = <2>;        233                         #gpio-cells = <2>;
234                         compatible = "fsl,cpm2    234                         compatible = "fsl,cpm2-pario-bank";
235                         reg = <0x10d60 0x14>;     235                         reg = <0x10d60 0x14>;
236                         gpio-controller;          236                         gpio-controller;
237                 };                                237                 };
238                                                   238 
239                 cpm2_pio_c: gpio-controller@10    239                 cpm2_pio_c: gpio-controller@10d40 {
240                         #gpio-cells = <2>;        240                         #gpio-cells = <2>;
241                         compatible = "fsl,cpm2    241                         compatible = "fsl,cpm2-pario-bank";
242                         reg = <0x10d40 0x14>;     242                         reg = <0x10d40 0x14>;
243                         gpio-controller;          243                         gpio-controller;
244                 };                                244                 };
245                                                   245 
246                 PIC: interrupt-controller@10c0    246                 PIC: interrupt-controller@10c00 {
247                         #interrupt-cells = <2>    247                         #interrupt-cells = <2>;
248                         interrupt-controller;     248                         interrupt-controller;
249                         reg = <0x10c00 0x80>;     249                         reg = <0x10c00 0x80>;
250                         compatible = "fsl,mpc8    250                         compatible = "fsl,mpc8247-pic", "fsl,pq2-pic";
251                 };                                251                 };
252         };                                        252         };
253 };                                                253 };
                                                      

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