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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/armada-xp-synology-ds414.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-synology-ds414.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/marvell/armada-xp-synology-ds414.dts (Version linux-6.10.14)


  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 Synology DS414              3  * Device Tree file for Synology DS414
  4  *                                                  4  *
  5  * Copyright (C) 2014, Arnaud EBALARD <arno@nat      5  * Copyright (C) 2014, Arnaud EBALARD <arno@natisbad.org>
  6  *                                                  6  *
  7  * Note: this Device Tree assumes that the boo      7  * Note: this Device Tree assumes that the bootloader has remapped the
  8  * internal registers to 0xf1000000 (instead o      8  * internal registers to 0xf1000000 (instead of the old 0xd0000000).
  9  * The 0xf1000000 is the default used by the r      9  * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot
 10  * bootloaders provided by Marvell. It is used     10  * bootloaders provided by Marvell. It is used in recent versions of
 11  * DSM software provided by Synology. Nonethel     11  * DSM software provided by Synology. Nonetheless, some earlier boards
 12  * were delivered with an older version of u-b     12  * were delivered with an older version of u-boot that left internal
 13  * registers mapped at 0xd0000000. If you have     13  * registers mapped at 0xd0000000. If you have such a device you will
 14  * not be able to directly boot a kernel based     14  * not be able to directly boot a kernel based on this Device Tree. In
 15  * that case, the preferred solution is to upd     15  * that case, the preferred solution is to update your bootloader (e.g.
 16  * by upgrading to latest version of DSM, or b     16  * by upgrading to latest version of DSM, or building a new one and
 17  * installing it from u-boot prompt) or adjust     17  * installing it from u-boot prompt) or adjust the Devive Tree
 18  * (s/0xf1000000/0xd0000000/ in 'ranges' below     18  * (s/0xf1000000/0xd0000000/ in 'ranges' below).
 19  */                                                19  */
 20                                                    20 
 21 /dts-v1/;                                          21 /dts-v1/;
 22                                                    22 
 23 #include <dt-bindings/input/input.h>               23 #include <dt-bindings/input/input.h>
 24 #include <dt-bindings/gpio/gpio.h>                 24 #include <dt-bindings/gpio/gpio.h>
 25 #include "armada-xp-mv78230.dtsi"                  25 #include "armada-xp-mv78230.dtsi"
 26                                                    26 
 27 / {                                                27 / {
 28         model = "Synology DS414";                  28         model = "Synology DS414";
 29         compatible = "synology,ds414", "marvel     29         compatible = "synology,ds414", "marvell,armadaxp-mv78230",
 30                      "marvell,armadaxp", "marv     30                      "marvell,armadaxp", "marvell,armada-370-xp";
 31                                                    31 
 32         chosen {                                   32         chosen {
 33                 stdout-path = "serial0:115200n     33                 stdout-path = "serial0:115200n8";
 34         };                                         34         };
 35                                                    35 
 36         memory@0 {                                 36         memory@0 {
 37                 device_type = "memory";            37                 device_type = "memory";
 38                 reg = <0 0x00000000 0 0x400000     38                 reg = <0 0x00000000 0 0x40000000>; /* 1GB */
 39         };                                         39         };
 40                                                    40 
 41         soc {                                      41         soc {
 42                 ranges = <MBUS_ID(0xf0, 0x01)      42                 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
 43                           MBUS_ID(0x01, 0x1d)      43                           MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
 44                           MBUS_ID(0x09, 0x09)      44                           MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
 45                           MBUS_ID(0x09, 0x05)      45                           MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>;
 46                                                    46 
 47                 internal-regs {                    47                 internal-regs {
 48                                                    48 
 49                         /* RTC is provided by      49                         /* RTC is provided by Seiko S-35390A below */
 50                         rtc@10300 {                50                         rtc@10300 {
 51                                 status = "disa     51                                 status = "disabled";
 52                         };                         52                         };
 53                                                    53 
 54                         i2c@11000 {                54                         i2c@11000 {
 55                                 clock-frequenc     55                                 clock-frequency = <400000>;
 56                                 status = "okay     56                                 status = "okay";
 57                                                    57 
 58                                 s35390a: s3539     58                                 s35390a: s35390a@30 {
 59                                          compa     59                                          compatible = "sii,s35390a";
 60                                          reg =     60                                          reg = <0x30>;
 61                                 };                 61                                 };
 62                         };                         62                         };
 63                                                    63 
 64                         /* Connected to a head     64                         /* Connected to a header on device's PCB. This
 65                          * provides the main c     65                          * provides the main console for the device.
 66                          *                         66                          *
 67                          * Warning: the device     67                          * Warning: the device may not boot with a 3.3V
 68                          * USB-serial converte     68                          * USB-serial converter connected when the power
 69                          * button is pressed.      69                          * button is pressed. The converter needs to be
 70                          * connected a few sec     70                          * connected a few seconds after pressing the
 71                          * power button. This      71                          * power button. This is possibly due to UART0_TXD
 72                          * pin being sampled a     72                          * pin being sampled at reset (bit 0 of SAR).
 73                          */                        73                          */
 74                         serial@12000 {             74                         serial@12000 {
 75                                 status = "okay     75                                 status = "okay";
 76                         };                         76                         };
 77                                                    77 
 78                         /* Connected to a Micr     78                         /* Connected to a Microchip PIC16F883 for power control */
 79                         serial@12100 {             79                         serial@12100 {
 80                                 status = "okay     80                                 status = "okay";
 81                         };                         81                         };
 82                                                    82 
 83                         poweroff@12100 {           83                         poweroff@12100 {
 84                                 compatible = "     84                                 compatible = "synology,power-off";
 85                                 reg = <0x12100     85                                 reg = <0x12100 0x100>;
 86                                 clocks = <&cor     86                                 clocks = <&coreclk 0>;
 87                         };                         87                         };
 88                                                    88 
 89                         /* Front USB 2.0 port      89                         /* Front USB 2.0 port */
 90                         usb@50000 {                90                         usb@50000 {
 91                                 status = "okay     91                                 status = "okay";
 92                         };                         92                         };
 93                                                    93 
 94                         ethernet@70000 {           94                         ethernet@70000 {
 95                                 status = "okay     95                                 status = "okay";
 96                                 pinctrl-0 = <&     96                                 pinctrl-0 = <&ge0_rgmii_pins>;
 97                                 pinctrl-names      97                                 pinctrl-names = "default";
 98                                 phy = <&phy1>;     98                                 phy = <&phy1>;
 99                                 phy-mode = "rg     99                                 phy-mode = "rgmii-id";
100                         };                        100                         };
101                                                   101 
102                         ethernet@74000 {          102                         ethernet@74000 {
103                                 pinctrl-0 = <&    103                                 pinctrl-0 = <&ge1_rgmii_pins>;
104                                 pinctrl-names     104                                 pinctrl-names = "default";
105                                 status = "okay    105                                 status = "okay";
106                                 phy = <&phy0>;    106                                 phy = <&phy0>;
107                                 phy-mode = "rg    107                                 phy-mode = "rgmii-id";
108                         };                        108                         };
109                 };                                109                 };
110         };                                        110         };
111                                                   111 
112         sata1_regulator: sata1-regulator-1 {      112         sata1_regulator: sata1-regulator-1 {
113                 compatible = "regulator-fixed"    113                 compatible = "regulator-fixed";
114                 regulator-name = "SATA1 Power"    114                 regulator-name = "SATA1 Power";
115                 regulator-min-microvolt = <500    115                 regulator-min-microvolt = <5000000>;
116                 regulator-max-microvolt = <500    116                 regulator-max-microvolt = <5000000>;
117                 startup-delay-us = <2000000>;     117                 startup-delay-us = <2000000>;
118                 enable-active-high;               118                 enable-active-high;
119                 regulator-always-on;              119                 regulator-always-on;
120                 regulator-boot-on;                120                 regulator-boot-on;
121                 gpio = <&gpio1 10 GPIO_ACTIVE_    121                 gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
122                 pinctrl-0 = <&sata1_pwr_pin>;     122                 pinctrl-0 = <&sata1_pwr_pin>;
123                 pinctrl-names = "default";        123                 pinctrl-names = "default";
124         };                                        124         };
125                                                   125 
126         sata2_regulator: sata2-regulator-2 {      126         sata2_regulator: sata2-regulator-2 {
127                 compatible = "regulator-fixed"    127                 compatible = "regulator-fixed";
128                 regulator-name = "SATA2 Power"    128                 regulator-name = "SATA2 Power";
129                 regulator-min-microvolt = <500    129                 regulator-min-microvolt = <5000000>;
130                 regulator-max-microvolt = <500    130                 regulator-max-microvolt = <5000000>;
131                 startup-delay-us = <4000000>;     131                 startup-delay-us = <4000000>;
132                 enable-active-high;               132                 enable-active-high;
133                 regulator-always-on;              133                 regulator-always-on;
134                 regulator-boot-on;                134                 regulator-boot-on;
135                 gpio = <&gpio1 12 GPIO_ACTIVE_    135                 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
136                 pinctrl-0 = <&sata2_pwr_pin>;     136                 pinctrl-0 = <&sata2_pwr_pin>;
137                 pinctrl-names = "default";        137                 pinctrl-names = "default";
138         };                                        138         };
139                                                   139 
140         sata3_regulator: sata3-regulator-3 {      140         sata3_regulator: sata3-regulator-3 {
141                 compatible = "regulator-fixed"    141                 compatible = "regulator-fixed";
142                 regulator-name = "SATA3 Power"    142                 regulator-name = "SATA3 Power";
143                 regulator-min-microvolt = <500    143                 regulator-min-microvolt = <5000000>;
144                 regulator-max-microvolt = <500    144                 regulator-max-microvolt = <5000000>;
145                 startup-delay-us = <6000000>;     145                 startup-delay-us = <6000000>;
146                 enable-active-high;               146                 enable-active-high;
147                 regulator-always-on;              147                 regulator-always-on;
148                 regulator-boot-on;                148                 regulator-boot-on;
149                 gpio = <&gpio1 13 GPIO_ACTIVE_    149                 gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>;
150                 pinctrl-0 = <&sata3_pwr_pin>;     150                 pinctrl-0 = <&sata3_pwr_pin>;
151                 pinctrl-names = "default";        151                 pinctrl-names = "default";
152         };                                        152         };
153                                                   153 
154         sata4_regulator: sata4-regulator-4 {      154         sata4_regulator: sata4-regulator-4 {
155                 compatible = "regulator-fixed"    155                 compatible = "regulator-fixed";
156                 regulator-name = "SATA4 Power"    156                 regulator-name = "SATA4 Power";
157                 regulator-min-microvolt = <500    157                 regulator-min-microvolt = <5000000>;
158                 regulator-max-microvolt = <500    158                 regulator-max-microvolt = <5000000>;
159                 startup-delay-us = <8000000>;     159                 startup-delay-us = <8000000>;
160                 enable-active-high;               160                 enable-active-high;
161                 regulator-always-on;              161                 regulator-always-on;
162                 regulator-boot-on;                162                 regulator-boot-on;
163                 gpio = <&gpio1 14 GPIO_ACTIVE_    163                 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
164                 pinctrl-0 = <&sata4_pwr_pin>;     164                 pinctrl-0 = <&sata4_pwr_pin>;
165                 pinctrl-names = "default";        165                 pinctrl-names = "default";
166         };                                        166         };
167 };                                                167 };
168                                                   168 
169 &pciec {                                          169 &pciec {
170         status = "okay";                          170         status = "okay";
171                                                   171 
172         /*                                        172         /*
173          * Connected to Marvell 88SX7042 SATA-    173          * Connected to Marvell 88SX7042 SATA-II controller
174          * handling the four disks.               174          * handling the four disks.
175          */                                       175          */
176         pcie@1,0 {                                176         pcie@1,0 {
177                 /* Port 0, Lane 0 */              177                 /* Port 0, Lane 0 */
178                 status = "okay";                  178                 status = "okay";
179         };                                        179         };
180                                                   180 
181         /*                                        181         /*
182          * Connected to EtronTech EJ168A XHCI     182          * Connected to EtronTech EJ168A XHCI controller
183          * providing the two rear USB 3.0 port    183          * providing the two rear USB 3.0 ports.
184          */                                       184          */
185         pcie@5,0 {                                185         pcie@5,0 {
186                 /* Port 1, Lane 0 */              186                 /* Port 1, Lane 0 */
187                 status = "okay";                  187                 status = "okay";
188         };                                        188         };
189 };                                                189 };
190                                                   190 
191                                                   191 
192 &mdio {                                           192 &mdio {
193         phy0: ethernet-phy@0 { /* Marvell 88E1    193         phy0: ethernet-phy@0 { /* Marvell 88E1512 */
194                 reg = <0>;                        194                 reg = <0>;
195         };                                        195         };
196                                                   196 
197         phy1: ethernet-phy@1 { /* Marvell 88E1    197         phy1: ethernet-phy@1 { /* Marvell 88E1512 */
198                 reg = <1>;                        198                 reg = <1>;
199         };                                        199         };
200 };                                                200 };
201                                                   201 
202 &pinctrl {                                        202 &pinctrl {
203         sata1_pwr_pin: sata1-pwr-pin {            203         sata1_pwr_pin: sata1-pwr-pin {
204                 marvell,pins = "mpp42";           204                 marvell,pins = "mpp42";
205                 marvell,function = "gpio";        205                 marvell,function = "gpio";
206         };                                        206         };
207                                                   207 
208         sata2_pwr_pin: sata2-pwr-pin {            208         sata2_pwr_pin: sata2-pwr-pin {
209                 marvell,pins = "mpp44";           209                 marvell,pins = "mpp44";
210                 marvell,function = "gpio";        210                 marvell,function = "gpio";
211         };                                        211         };
212                                                   212 
213         sata3_pwr_pin: sata3-pwr-pin {            213         sata3_pwr_pin: sata3-pwr-pin {
214                 marvell,pins = "mpp45";           214                 marvell,pins = "mpp45";
215                 marvell,function = "gpio";        215                 marvell,function = "gpio";
216         };                                        216         };
217                                                   217 
218         sata4_pwr_pin: sata4-pwr-pin {            218         sata4_pwr_pin: sata4-pwr-pin {
219                 marvell,pins = "mpp46";           219                 marvell,pins = "mpp46";
220                 marvell,function = "gpio";        220                 marvell,function = "gpio";
221         };                                        221         };
222                                                   222 
223         sata1_pres_pin: sata1-pres-pin {          223         sata1_pres_pin: sata1-pres-pin {
224                 marvell,pins = "mpp34";           224                 marvell,pins = "mpp34";
225                 marvell,function = "gpio";        225                 marvell,function = "gpio";
226         };                                        226         };
227                                                   227 
228         sata2_pres_pin: sata2-pres-pin {          228         sata2_pres_pin: sata2-pres-pin {
229                 marvell,pins = "mpp35";           229                 marvell,pins = "mpp35";
230                 marvell,function = "gpio";        230                 marvell,function = "gpio";
231         };                                        231         };
232                                                   232 
233         sata3_pres_pin: sata3-pres-pin {          233         sata3_pres_pin: sata3-pres-pin {
234                 marvell,pins = "mpp40";           234                 marvell,pins = "mpp40";
235                 marvell,function = "gpio";        235                 marvell,function = "gpio";
236         };                                        236         };
237                                                   237 
238         sata4_pres_pin: sata4-pres-pin {          238         sata4_pres_pin: sata4-pres-pin {
239                 marvell,pins = "mpp41";           239                 marvell,pins = "mpp41";
240                 marvell,function = "gpio";        240                 marvell,function = "gpio";
241         };                                        241         };
242                                                   242 
243         syno_id_bit0_pin: syno-id-bit0-pin {      243         syno_id_bit0_pin: syno-id-bit0-pin {
244                 marvell,pins = "mpp26";           244                 marvell,pins = "mpp26";
245                 marvell,function = "gpio";        245                 marvell,function = "gpio";
246         };                                        246         };
247                                                   247 
248         syno_id_bit1_pin: syno-id-bit1-pin {      248         syno_id_bit1_pin: syno-id-bit1-pin {
249                 marvell,pins = "mpp28";           249                 marvell,pins = "mpp28";
250                 marvell,function = "gpio";        250                 marvell,function = "gpio";
251         };                                        251         };
252                                                   252 
253         syno_id_bit2_pin: syno-id-bit2-pin {      253         syno_id_bit2_pin: syno-id-bit2-pin {
254                 marvell,pins = "mpp29";           254                 marvell,pins = "mpp29";
255                 marvell,function = "gpio";        255                 marvell,function = "gpio";
256         };                                        256         };
257                                                   257 
258         fan1_alarm_pin: fan1-alarm-pin {          258         fan1_alarm_pin: fan1-alarm-pin {
259                 marvell,pins = "mpp33";           259                 marvell,pins = "mpp33";
260                 marvell,function = "gpio";        260                 marvell,function = "gpio";
261         };                                        261         };
262                                                   262 
263         fan2_alarm_pin: fan2-alarm-pin {          263         fan2_alarm_pin: fan2-alarm-pin {
264                 marvell,pins = "mpp32";           264                 marvell,pins = "mpp32";
265                 marvell,function = "gpio";        265                 marvell,function = "gpio";
266         };                                        266         };
267 };                                                267 };
268                                                   268 
269 &spi0 {                                           269 &spi0 {
270         status = "okay";                          270         status = "okay";
271                                                   271 
272         flash@0 {                                 272         flash@0 {
273                 #address-cells = <1>;             273                 #address-cells = <1>;
274                 #size-cells = <1>;                274                 #size-cells = <1>;
275                 compatible = "micron,n25q064",    275                 compatible = "micron,n25q064", "jedec,spi-nor";
276                 reg = <0>; /* Chip select 0 */    276                 reg = <0>; /* Chip select 0 */
277                 spi-max-frequency = <20000000>    277                 spi-max-frequency = <20000000>;
278                                                   278 
279                 /*                                279                 /*
280                  * Warning!                       280                  * Warning!
281                  *                                281                  *
282                  * Synology u-boot uses its co    282                  * Synology u-boot uses its compiled-in environment
283                  * and it seems Synology did n    283                  * and it seems Synology did not care to change u-boot
284                  * default configuration in or    284                  * default configuration in order to allow saving a
285                  * modified environment at a s    285                  * modified environment at a sensible location. So,
286                  * if you do a 'saveenv' under    286                  * if you do a 'saveenv' under u-boot, your modified
287                  * environment will be saved a    287                  * environment will be saved at 1MB after the start
288                  * of the flash, i.e. in the m    288                  * of the flash, i.e. in the middle of the uImage.
289                  * For that reason, it is stro    289                  * For that reason, it is strongly advised not to
290                  * change the default environm    290                  * change the default environment, unless you know
291                  * what you are doing.            291                  * what you are doing.
292                  */                               292                  */
293                 partition@0 { /* u-boot */        293                 partition@0 { /* u-boot */
294                         label = "RedBoot";        294                         label = "RedBoot";
295                         reg = <0x00000000 0x00    295                         reg = <0x00000000 0x000d0000>; /* 832KB */
296                 };                                296                 };
297                                                   297 
298                 partition@c0000 { /* uImage */    298                 partition@c0000 { /* uImage */
299                         label = "zImage";         299                         label = "zImage";
300                         reg = <0x000d0000 0x00    300                         reg = <0x000d0000 0x002d0000>; /* 2880KB */
301                 };                                301                 };
302                                                   302 
303                 partition@3a0000 { /* uInitram    303                 partition@3a0000 { /* uInitramfs */
304                         label = "rd.gz";          304                         label = "rd.gz";
305                         reg = <0x003a0000 0x00    305                         reg = <0x003a0000 0x00430000>; /* 4250KB */
306                 };                                306                 };
307                                                   307 
308                 partition@7d0000 { /* MAC addr    308                 partition@7d0000 { /* MAC address and serial number */
309                         label = "vendor";         309                         label = "vendor";
310                         reg = <0x007d0000 0x00    310                         reg = <0x007d0000 0x00010000>; /* 64KB */
311                 };                                311                 };
312                                                   312 
313                 partition@7e0000 {                313                 partition@7e0000 {
314                         label = "RedBoot confi    314                         label = "RedBoot config";
315                         reg = <0x007e0000 0x00    315                         reg = <0x007e0000 0x00010000>; /* 64KB */
316                 };                                316                 };
317                                                   317 
318                 partition@7f0000 {                318                 partition@7f0000 {
319                         label = "FIS directory    319                         label = "FIS directory";
320                         reg = <0x007f0000 0x00    320                         reg = <0x007f0000 0x00010000>; /* 64KB */
321                 };                                321                 };
322         };                                        322         };
323 };                                                323 };
                                                      

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