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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/armada-370-seagate-nas-xbay.dtsi

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-370-seagate-nas-xbay.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/marvell/armada-370-seagate-nas-xbay.dtsi (Version linux-6.10.14)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Device Tree common file for the Seagate NAS      3  * Device Tree common file for the Seagate NAS 2 and 4-bay (Armada 370 SoC).
  4  *                                                  4  *
  5  * Copyright (C) 2015 Seagate                       5  * Copyright (C) 2015 Seagate
  6  *                                                  6  *
  7  * Author: Vincent Donnefort <vdonnefort@gmail.      7  * Author: Vincent Donnefort <vdonnefort@gmail.com>
  8  */                                                 8  */
  9                                                     9 
 10 /*                                                 10 /*
 11  * TODO: add support for the white SATA LEDs a     11  * TODO: add support for the white SATA LEDs associated with HDD 0 and 1.
 12  */                                                12  */
 13                                                    13 
 14 #include "armada-370.dtsi"                         14 #include "armada-370.dtsi"
 15 #include <dt-bindings/gpio/gpio.h>                 15 #include <dt-bindings/gpio/gpio.h>
 16 #include <dt-bindings/input/input.h>               16 #include <dt-bindings/input/input.h>
 17                                                    17 
 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 = <0x00000000 0x20000000>;     25                 reg = <0x00000000 0x20000000>; /* 512 MB */
 26         };                                         26         };
 27                                                    27 
 28         soc {                                      28         soc {
 29                 ranges = <MBUS_ID(0xf0, 0x01)      29                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
 30                           MBUS_ID(0x01, 0xe0)      30                           MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
 31                                                    31 
 32                 internal-regs {                    32                 internal-regs {
 33                         serial@12000 {             33                         serial@12000 {
 34                                 status = "okay     34                                 status = "okay";
 35                         };                         35                         };
 36                                                    36 
 37                         sata@a0000 {               37                         sata@a0000 {
 38                                 nr-ports = <2>     38                                 nr-ports = <2>;
 39                                 status = "okay     39                                 status = "okay";
 40                         };                         40                         };
 41                                                    41 
 42                         ethernet@70000 {           42                         ethernet@70000 {
 43                                 status = "okay     43                                 status = "okay";
 44                                 pinctrl-0 = <&     44                                 pinctrl-0 = <&ge0_rgmii_pins>;
 45                                 pinctrl-names      45                                 pinctrl-names = "default";
 46                                 phy = <&phy0>;     46                                 phy = <&phy0>;
 47                                 phy-mode = "rg     47                                 phy-mode = "rgmii-id";
 48                         };                         48                         };
 49                                                    49 
 50                         i2c@11000 {                50                         i2c@11000 {
 51                                 status = "okay     51                                 status = "okay";
 52                                 pinctrl-0 = <&     52                                 pinctrl-0 = <&i2c0_pins>;
 53                                 pinctrl-names      53                                 pinctrl-names = "default";
 54                                 clock-frequenc     54                                 clock-frequency = <100000>;
 55                                                    55 
 56                                 /* RTC - NXP 8     56                                 /* RTC - NXP 8563T (second source) */
 57                                 rtc@51 {           57                                 rtc@51 {
 58                                         compat     58                                         compatible = "nxp,pcf8563";
 59                                         reg =      59                                         reg = <0x51>;
 60                                         interr     60                                         interrupts = <110>;
 61                                 };                 61                                 };
 62                                 /* RTC - MCP79     62                                 /* RTC - MCP7940NT */
 63                                 rtc@6f {           63                                 rtc@6f {
 64                                         compat     64                                         compatible = "microchip,mcp7941x";
 65                                         reg =      65                                         reg = <0x6f>;
 66                                         interr     66                                         interrupts = <110>;
 67                                 };                 67                                 };
 68                         };                         68                         };
 69                 };                                 69                 };
 70                                                    70 
 71         };                                         71         };
 72                                                    72 
 73         regulator-1 {                              73         regulator-1 {
 74                 compatible = "regulator-fixed"     74                 compatible = "regulator-fixed";
 75                 regulator-name = "SATA0 power"     75                 regulator-name = "SATA0 power";
 76                 regulator-min-microvolt = <500     76                 regulator-min-microvolt = <5000000>;
 77                 regulator-max-microvolt = <500     77                 regulator-max-microvolt = <5000000>;
 78                 enable-active-high;                78                 enable-active-high;
 79                 regulator-always-on;               79                 regulator-always-on;
 80                 regulator-boot-on;                 80                 regulator-boot-on;
 81                 gpio = <&gpio1 18 GPIO_ACTIVE_     81                 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 82         };                                         82         };
 83                                                    83 
 84         regulator-2 {                              84         regulator-2 {
 85                 compatible = "regulator-fixed"     85                 compatible = "regulator-fixed";
 86                 regulator-name = "SATA1 power"     86                 regulator-name = "SATA1 power";
 87                 regulator-min-microvolt = <500     87                 regulator-min-microvolt = <5000000>;
 88                 regulator-max-microvolt = <500     88                 regulator-max-microvolt = <5000000>;
 89                 enable-active-high;                89                 enable-active-high;
 90                 regulator-always-on;               90                 regulator-always-on;
 91                 regulator-boot-on;                 91                 regulator-boot-on;
 92                 gpio = <&gpio1 22 GPIO_ACTIVE_     92                 gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
 93         };                                         93         };
 94                                                    94 
 95         gpio-fan {                                 95         gpio-fan {
 96                 compatible = "gpio-fan";           96                 compatible = "gpio-fan";
 97                 gpios = <&gpio2 0 GPIO_ACTIVE_     97                 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH
 98                          &gpio2 1 GPIO_ACTIVE_     98                          &gpio2 1 GPIO_ACTIVE_HIGH>;
 99         };                                         99         };
100                                                   100 
101         gpio-keys {                               101         gpio-keys {
102                 compatible = "gpio-keys";         102                 compatible = "gpio-keys";
103                                                   103 
104                 button-power {                    104                 button-power {
105                         label = "Power button"    105                         label = "Power button";
106                         linux,code = <KEY_POWE    106                         linux,code = <KEY_POWER>;
107                         gpios = <&gpio1 19 GPI    107                         gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
108                         debounce-interval = <1    108                         debounce-interval = <100>;
109                 };                                109                 };
110                 button-backup {                   110                 button-backup {
111                         label = "Backup button    111                         label = "Backup button";
112                         linux,code = <KEY_OPTI    112                         linux,code = <KEY_OPTION>;
113                         gpios = <&gpio0 31 GPI    113                         gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
114                         debounce-interval = <1    114                         debounce-interval = <100>;
115                 };                                115                 };
116                 button-reset {                    116                 button-reset {
117                         label = "Reset Button"    117                         label = "Reset Button";
118                         linux,code = <KEY_REST    118                         linux,code = <KEY_RESTART>;
119                         gpios = <&gpio1 23 GPI    119                         gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
120                         debounce-interval = <1    120                         debounce-interval = <100>;
121                 };                                121                 };
122         };                                        122         };
123                                                   123 
124         gpio-leds {                               124         gpio-leds {
125                 compatible = "gpio-leds";         125                 compatible = "gpio-leds";
126                                                   126 
127                 led-white-power {                 127                 led-white-power {
128                         label = "dart:white:po    128                         label = "dart:white:power";
129                         gpios = <&gpio1 28 GPI    129                         gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
130                         linux,default-trigger     130                         linux,default-trigger = "timer";
131                                                   131 
132                 };                                132                 };
133                 led-red-power {                   133                 led-red-power {
134                         label = "dart:red:powe    134                         label = "dart:red:power";
135                         gpios = <&gpio1 31 GPI    135                         gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
136                 };                                136                 };
137                 led-red-sata0 {                   137                 led-red-sata0 {
138                         label = "dart:red:sata    138                         label = "dart:red:sata0";
139                         gpios = <&gpio1 15 GPI    139                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
140                 };                                140                 };
141                 led-red-sata1 {                   141                 led-red-sata1 {
142                         label = "dart:red:sata    142                         label = "dart:red:sata1";
143                         gpios = <&gpio1 21 GPI    143                         gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
144                 };                                144                 };
145         };                                        145         };
146                                                   146 
147         gpio_poweroff {                           147         gpio_poweroff {
148                 compatible = "gpio-poweroff";     148                 compatible = "gpio-poweroff";
149                 gpios = <&gpio1 30 GPIO_ACTIVE    149                 gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
150         };                                        150         };
151 };                                                151 };
152                                                   152 
153 &pciec {                                          153 &pciec {
154         status = "okay";                          154         status = "okay";
155                                                   155 
156         /* USB 3.0 bridge ASM1042A */             156         /* USB 3.0 bridge ASM1042A */
157         pcie@2,0 {                                157         pcie@2,0 {
158                 status = "okay";                  158                 status = "okay";
159         };                                        159         };
160 };                                                160 };
161                                                   161 
162                                                   162 
163 &mdio {                                           163 &mdio {
164         pinctrl-0 = <&mdio_pins>;                 164         pinctrl-0 = <&mdio_pins>;
165         pinctrl-names = "default";                165         pinctrl-names = "default";
166                                                   166 
167         phy0: ethernet-phy@0 {                    167         phy0: ethernet-phy@0 {
168                 reg = <0>;                        168                 reg = <0>;
169         };                                        169         };
170 };                                                170 };
171                                                   171 
172 &pinctrl {                                        172 &pinctrl {
173         pinctrl-0 = <&hdd0_led_sata_pin>, <&hd    173         pinctrl-0 = <&hdd0_led_sata_pin>, <&hdd1_led_sata_pin>;
174         pinctrl-names = "default";                174         pinctrl-names = "default";
175                                                   175 
176         hdd0_led_sata_pin: hdd0-led-sata-pin {    176         hdd0_led_sata_pin: hdd0-led-sata-pin {
177                 marvell,pins = "mpp48";           177                 marvell,pins = "mpp48";
178                 marvell,function = "sata1";       178                 marvell,function = "sata1";
179         };                                        179         };
180         hdd0_led_gpio_pin: hdd0-led-gpio-pin {    180         hdd0_led_gpio_pin: hdd0-led-gpio-pin {
181                 marvell,pins = "mpp48";           181                 marvell,pins = "mpp48";
182                 marvell,function = "gpio";        182                 marvell,function = "gpio";
183         };                                        183         };
184         hdd1_led_sata_pin: hdd1-led-sata-pin {    184         hdd1_led_sata_pin: hdd1-led-sata-pin {
185                 marvell,pins = "mpp57";           185                 marvell,pins = "mpp57";
186                 marvell,function = "sata0";       186                 marvell,function = "sata0";
187         };                                        187         };
188         hdd1_led_gpio_pin: hdd1-led-gpio-pin {    188         hdd1_led_gpio_pin: hdd1-led-gpio-pin {
189                 marvell,pins = "mpp57";           189                 marvell,pins = "mpp57";
190                 marvell,function = "gpio";        190                 marvell,function = "gpio";
191         };                                        191         };
192 };                                                192 };
193                                                   193 
194 &nand_controller {                                194 &nand_controller {
195         status = "okay";                          195         status = "okay";
196                                                   196 
197         nand@0 {                                  197         nand@0 {
198                 reg = <0>;                        198                 reg = <0>;
199                 label = "pxa3xx_nand-0";          199                 label = "pxa3xx_nand-0";
200                 nand-rb = <0>;                    200                 nand-rb = <0>;
201                 marvell,nand-keep-config;         201                 marvell,nand-keep-config;
202                 nand-on-flash-bbt;                202                 nand-on-flash-bbt;
203                 nand-ecc-strength = <4>;          203                 nand-ecc-strength = <4>;
204                 nand-ecc-step-size = <512>;       204                 nand-ecc-step-size = <512>;
205                                                   205 
206                 partitions {                      206                 partitions {
207                         compatible = "fixed-pa    207                         compatible = "fixed-partitions";
208                         #address-cells = <1>;     208                         #address-cells = <1>;
209                         #size-cells = <1>;        209                         #size-cells = <1>;
210                                                   210 
211                         partition@0 {             211                         partition@0 {
212                                 label = "u-boo    212                                 label = "u-boot";
213                                 reg = <0x0 0x3    213                                 reg = <0x0 0x300000>;
214                         };                        214                         };
215                         partition@300000 {        215                         partition@300000 {
216                                 label = "devic    216                                 label = "device-tree";
217                                 reg = <0x30000    217                                 reg = <0x300000 0x20000>;
218                         };                        218                         };
219                         partition@320000 {        219                         partition@320000 {
220                                 label = "linux    220                                 label = "linux";
221                                 reg = <0x32000    221                                 reg = <0x320000 0x2000000>;
222                         };                        222                         };
223                         partition@2320000 {       223                         partition@2320000 {
224                                 label = "rootf    224                                 label = "rootfs";
225                                 reg = <0x23200    225                                 reg = <0x2320000 0xdce0000>;
226                         };                        226                         };
227                 };                                227                 };
228         };                                        228         };
229 };                                                229 };
                                                      

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