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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/armada-xp-openblocks-ax3-4.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/marvell/armada-xp-openblocks-ax3-4.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/marvell/armada-xp-openblocks-ax3-4.dts (Architecture ppc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Device Tree file for OpenBlocks AX3-4 board      3  * Device Tree file for OpenBlocks AX3-4 board
  4  *                                                  4  *
  5  * Copyright (C) 2012 Marvell                       5  * Copyright (C) 2012 Marvell
  6  *                                                  6  *
  7  * Thomas Petazzoni <thomas.petazzoni@free-elec      7  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8  */                                                 8  */
  9                                                     9 
 10 /dts-v1/;                                          10 /dts-v1/;
 11 #include <dt-bindings/gpio/gpio.h>                 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/input/input.h>               12 #include <dt-bindings/input/input.h>
 13 #include "armada-xp-mv78260.dtsi"                  13 #include "armada-xp-mv78260.dtsi"
 14                                                    14 
 15 / {                                                15 / {
 16         model = "PlatHome OpenBlocks AX3-4 boa     16         model = "PlatHome OpenBlocks AX3-4 board";
 17         compatible = "plathome,openblocks-ax3-     17         compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
 18                                                    18 
 19         chosen {                                   19         chosen {
 20                 stdout-path = "serial0:115200n     20                 stdout-path = "serial0:115200n8";
 21         };                                         21         };
 22                                                    22 
 23         memory@0 {                                 23         memory@0 {
 24                 device_type = "memory";            24                 device_type = "memory";
 25                 reg = <0 0x00000000 0 0x400000     25                 reg = <0 0x00000000 0 0x40000000>; /* 1 GB soldered on */
 26         };                                         26         };
 27                                                    27 
 28         soc {                                      28         soc {
 29                 ranges = <MBUS_ID(0xf0, 0x01)      29                 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
 30                           MBUS_ID(0x01, 0x1d)      30                           MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
 31                           MBUS_ID(0x01, 0x2f)      31                           MBUS_ID(0x01, 0x2f) 0 0 0xe8000000 0x8000000
 32                           MBUS_ID(0x09, 0x09)      32                           MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
 33                           MBUS_ID(0x09, 0x05)      33                           MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000
 34                           MBUS_ID(0x0c, 0x04)      34                           MBUS_ID(0x0c, 0x04) 0 0 0xd1200000 0x100000>;
 35                                                    35 
 36                 devbus-bootcs {                    36                 devbus-bootcs {
 37                         status = "okay";           37                         status = "okay";
 38                                                    38 
 39                         /* Device Bus paramete     39                         /* Device Bus parameters are required */
 40                                                    40 
 41                         /* Read parameters */      41                         /* Read parameters */
 42                         devbus,bus-width    =      42                         devbus,bus-width    = <16>;
 43                         devbus,turn-off-ps  =      43                         devbus,turn-off-ps  = <60000>;
 44                         devbus,badr-skew-ps =      44                         devbus,badr-skew-ps = <0>;
 45                         devbus,acc-first-ps =      45                         devbus,acc-first-ps = <124000>;
 46                         devbus,acc-next-ps  =      46                         devbus,acc-next-ps  = <248000>;
 47                         devbus,rd-setup-ps  =      47                         devbus,rd-setup-ps  = <0>;
 48                         devbus,rd-hold-ps   =      48                         devbus,rd-hold-ps   = <0>;
 49                                                    49 
 50                         /* Write parameters */     50                         /* Write parameters */
 51                         devbus,sync-enable = <     51                         devbus,sync-enable = <0>;
 52                         devbus,wr-high-ps  = <     52                         devbus,wr-high-ps  = <60000>;
 53                         devbus,wr-low-ps   = <     53                         devbus,wr-low-ps   = <60000>;
 54                         devbus,ale-wr-ps   = <     54                         devbus,ale-wr-ps   = <60000>;
 55                                                    55 
 56                         /* NOR 128 MiB */          56                         /* NOR 128 MiB */
 57                         nor@0 {                    57                         nor@0 {
 58                                 compatible = "     58                                 compatible = "cfi-flash";
 59                                 reg = <0 0x800     59                                 reg = <0 0x8000000>;
 60                                 bank-width = <     60                                 bank-width = <2>;
 61                         };                         61                         };
 62                 };                                 62                 };
 63                                                    63 
 64                 internal-regs {                    64                 internal-regs {
 65                         rtc@10300 {                65                         rtc@10300 {
 66                                 /* No crystal      66                                 /* No crystal connected to the internal RTC */
 67                                 status = "disa     67                                 status = "disabled";
 68                         };                         68                         };
 69                         serial@12000 {             69                         serial@12000 {
 70                                 status = "okay     70                                 status = "okay";
 71                         };                         71                         };
 72                         serial@12100 {             72                         serial@12100 {
 73                                 status = "okay     73                                 status = "okay";
 74                         };                         74                         };
 75                                                    75 
 76                         leds {                     76                         leds {
 77                                 compatible = "     77                                 compatible = "gpio-leds";
 78                                 pinctrl-names      78                                 pinctrl-names = "default";
 79                                 pinctrl-0 = <&     79                                 pinctrl-0 = <&led_pins>;
 80                                                    80 
 81                                 red_led {          81                                 red_led {
 82                                         label      82                                         label = "red_led";
 83                                         gpios      83                                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
 84                                         defaul     84                                         default-state = "off";
 85                                 };                 85                                 };
 86                                                    86 
 87                                 yellow_led {       87                                 yellow_led {
 88                                         label      88                                         label = "yellow_led";
 89                                         gpios      89                                         gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
 90                                         defaul     90                                         default-state = "off";
 91                                 };                 91                                 };
 92                                                    92 
 93                                 green_led {        93                                 green_led {
 94                                         label      94                                         label = "green_led";
 95                                         gpios      95                                         gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
 96                                         defaul     96                                         default-state = "keep";
 97                                 };                 97                                 };
 98                         };                         98                         };
 99                                                    99 
100                         gpio-keys {               100                         gpio-keys {
101                                 compatible = "    101                                 compatible = "gpio-keys";
102                                                   102 
103                                 button-init {     103                                 button-init {
104                                         label     104                                         label = "Init Button";
105                                         linux,    105                                         linux,code = <KEY_POWER>;
106                                         gpios     106                                         gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
107                                 };                107                                 };
108                         };                        108                         };
109                                                   109 
110                         ethernet@70000 {          110                         ethernet@70000 {
111                                 status = "okay    111                                 status = "okay";
112                                 phy = <&phy0>;    112                                 phy = <&phy0>;
113                                 phy-mode = "sg    113                                 phy-mode = "sgmii";
114                                 buffer-manager    114                                 buffer-manager = <&bm>;
115                                 bm,pool-long =    115                                 bm,pool-long = <0>;
116                         };                        116                         };
117                         ethernet@74000 {          117                         ethernet@74000 {
118                                 status = "okay    118                                 status = "okay";
119                                 phy = <&phy1>;    119                                 phy = <&phy1>;
120                                 phy-mode = "sg    120                                 phy-mode = "sgmii";
121                                 buffer-manager    121                                 buffer-manager = <&bm>;
122                                 bm,pool-long =    122                                 bm,pool-long = <1>;
123                         };                        123                         };
124                         ethernet@30000 {          124                         ethernet@30000 {
125                                 status = "okay    125                                 status = "okay";
126                                 phy = <&phy2>;    126                                 phy = <&phy2>;
127                                 phy-mode = "sg    127                                 phy-mode = "sgmii";
128                                 buffer-manager    128                                 buffer-manager = <&bm>;
129                                 bm,pool-long =    129                                 bm,pool-long = <2>;
130                         };                        130                         };
131                         ethernet@34000 {          131                         ethernet@34000 {
132                                 status = "okay    132                                 status = "okay";
133                                 phy = <&phy3>;    133                                 phy = <&phy3>;
134                                 phy-mode = "sg    134                                 phy-mode = "sgmii";
135                                 buffer-manager    135                                 buffer-manager = <&bm>;
136                                 bm,pool-long =    136                                 bm,pool-long = <3>;
137                         };                        137                         };
138                         i2c@11000 {               138                         i2c@11000 {
139                                 status = "okay    139                                 status = "okay";
140                                 clock-frequenc    140                                 clock-frequency = <400000>;
141                         };                        141                         };
142                         i2c@11100 {               142                         i2c@11100 {
143                                 status = "okay    143                                 status = "okay";
144                                 clock-frequenc    144                                 clock-frequency = <400000>;
145                                                   145 
146                                 s35390a: s3539    146                                 s35390a: s35390a@30 {
147                                         compat    147                                         compatible = "s35390a";
148                                         reg =     148                                         reg = <0x30>;
149                                 };                149                                 };
150                         };                        150                         };
151                         sata@a0000 {              151                         sata@a0000 {
152                                 nr-ports = <2>    152                                 nr-ports = <2>;
153                                 status = "okay    153                                 status = "okay";
154                         };                        154                         };
155                                                   155 
156                         /* Front side USB 0 */    156                         /* Front side USB 0 */
157                         usb@50000 {               157                         usb@50000 {
158                                 status = "okay    158                                 status = "okay";
159                         };                        159                         };
160                                                   160 
161                         /* Front side USB 1 */    161                         /* Front side USB 1 */
162                         usb@51000 {               162                         usb@51000 {
163                                 status = "okay    163                                 status = "okay";
164                         };                        164                         };
165                                                   165 
166                         bm@c0000 {                166                         bm@c0000 {
167                                 status = "okay    167                                 status = "okay";
168                         };                        168                         };
169                 };                                169                 };
170                                                   170 
171                 bm-bppi {                         171                 bm-bppi {
172                         status = "okay";          172                         status = "okay";
173                 };                                173                 };
174         };                                        174         };
175 };                                                175 };
176                                                   176 
177 &pciec {                                          177 &pciec {
178         status = "okay";                          178         status = "okay";
179         /* Internal mini-PCIe connector */        179         /* Internal mini-PCIe connector */
180         pcie@1,0 {                                180         pcie@1,0 {
181                 /* Port 0, Lane 0 */              181                 /* Port 0, Lane 0 */
182                 status = "okay";                  182                 status = "okay";
183         };                                        183         };
184 };                                                184 };
185                                                   185 
186 &mdio {                                           186 &mdio {
187         phy0: ethernet-phy@0 {                    187         phy0: ethernet-phy@0 {
188                 reg = <0>;                        188                 reg = <0>;
189         };                                        189         };
190                                                   190 
191         phy1: ethernet-phy@1 {                    191         phy1: ethernet-phy@1 {
192                 reg = <1>;                        192                 reg = <1>;
193         };                                        193         };
194                                                   194 
195         phy2: ethernet-phy@2 {                    195         phy2: ethernet-phy@2 {
196                 reg = <2>;                        196                 reg = <2>;
197         };                                        197         };
198                                                   198 
199         phy3: ethernet-phy@3 {                    199         phy3: ethernet-phy@3 {
200                 reg = <3>;                        200                 reg = <3>;
201         };                                        201         };
202 };                                                202 };
203                                                   203 
204 &pinctrl {                                        204 &pinctrl {
205         led_pins: led-pins-0 {                    205         led_pins: led-pins-0 {
206                 marvell,pins = "mpp49", "mpp51    206                 marvell,pins = "mpp49", "mpp51", "mpp53";
207                 marvell,function = "gpio";        207                 marvell,function = "gpio";
208         };                                        208         };
209 };                                                209 };
                                                      

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