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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/armada-370-seagate-personal-cloud.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-personal-cloud.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/marvell/armada-370-seagate-personal-cloud.dtsi (Architecture sparc)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Device Tree common file for the Seagate Per      3  * Device Tree common file for the Seagate Personal Cloud NAS 1 and 2-Bay
  4  * (Armada 370 SoC).                                4  * (Armada 370 SoC).
  5  *                                                  5  *
  6  * Copyright (C) 2015 Seagate                       6  * Copyright (C) 2015 Seagate
  7  *                                                  7  *
  8  * Author: Simon Guinot <simon.guinot@sequanux.      8  * Author: Simon Guinot <simon.guinot@sequanux.org>
  9  */                                                 9  */
 10                                                    10 
 11 /*                                                 11 /*
 12  * TODO: add support for the white SATA LED.       12  * TODO: add support for the white SATA LED.
 13  */                                                13  */
 14                                                    14 
 15 #include "armada-370.dtsi"                         15 #include "armada-370.dtsi"
 16 #include <dt-bindings/gpio/gpio.h>                 16 #include <dt-bindings/gpio/gpio.h>
 17 #include <dt-bindings/input/input.h>               17 #include <dt-bindings/input/input.h>
 18                                                    18 
 19 / {                                                19 / {
 20         chosen {                                   20         chosen {
 21                 stdout-path = "serial0:115200n     21                 stdout-path = "serial0:115200n8";
 22         };                                         22         };
 23                                                    23 
 24         memory@0 {                                 24         memory@0 {
 25                 device_type = "memory";            25                 device_type = "memory";
 26                 reg = <0x00000000 0x20000000>;     26                 reg = <0x00000000 0x20000000>; /* 512 MB */
 27         };                                         27         };
 28                                                    28 
 29         soc {                                      29         soc {
 30                 ranges = <MBUS_ID(0xf0, 0x01)      30                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
 31                           MBUS_ID(0x01, 0xe0)      31                           MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
 32                                                    32 
 33                 internal-regs {                    33                 internal-regs {
 34                         coherency-fabric@20200     34                         coherency-fabric@20200 {
 35                                 broken-idle;       35                                 broken-idle;
 36                         };                         36                         };
 37                                                    37 
 38                         serial@12000 {             38                         serial@12000 {
 39                                 status = "okay     39                                 status = "okay";
 40                         };                         40                         };
 41                                                    41 
 42                         ethernet@74000 {           42                         ethernet@74000 {
 43                                 status = "okay     43                                 status = "okay";
 44                                 pinctrl-0 = <&     44                                 pinctrl-0 = <&ge1_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                         usb@50000 {                50                         usb@50000 {
 51                                 status = "okay     51                                 status = "okay";
 52                         };                         52                         };
 53                 };                                 53                 };
 54         };                                         54         };
 55                                                    55 
 56         regulator-0 {                              56         regulator-0 {
 57                 compatible = "regulator-fixed"     57                 compatible = "regulator-fixed";
 58                 regulator-name = "USB Power";      58                 regulator-name = "USB Power";
 59                 regulator-min-microvolt = <500     59                 regulator-min-microvolt = <5000000>;
 60                 regulator-max-microvolt = <500     60                 regulator-max-microvolt = <5000000>;
 61                 regulator-always-on;               61                 regulator-always-on;
 62                 regulator-boot-on;                 62                 regulator-boot-on;
 63                 gpio = <&gpio1 27 GPIO_ACTIVE_     63                 gpio = <&gpio1 27 GPIO_ACTIVE_LOW>;
 64         };                                         64         };
 65                                                    65 
 66         regulator-1 {                              66         regulator-1 {
 67                 compatible = "regulator-fixed"     67                 compatible = "regulator-fixed";
 68                 regulator-name = "SATA0 power"     68                 regulator-name = "SATA0 power";
 69                 regulator-min-microvolt = <500     69                 regulator-min-microvolt = <5000000>;
 70                 regulator-max-microvolt = <500     70                 regulator-max-microvolt = <5000000>;
 71                 enable-active-high;                71                 enable-active-high;
 72                 regulator-always-on;               72                 regulator-always-on;
 73                 regulator-boot-on;                 73                 regulator-boot-on;
 74                 gpio = <&gpio1 18 GPIO_ACTIVE_     74                 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 75         };                                         75         };
 76                                                    76 
 77         gpio-keys {                                77         gpio-keys {
 78                 compatible = "gpio-keys";          78                 compatible = "gpio-keys";
 79                                                    79 
 80                 button-power {                     80                 button-power {
 81                         label = "Power button"     81                         label = "Power button";
 82                         linux,code = <KEY_POWE     82                         linux,code = <KEY_POWER>;
 83                         gpios = <&gpio1 19 GPI     83                         gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
 84                         debounce-interval = <1     84                         debounce-interval = <100>;
 85                 };                                 85                 };
 86                 button-reset {                     86                 button-reset {
 87                         label = "Reset Button"     87                         label = "Reset Button";
 88                         linux,code = <KEY_REST     88                         linux,code = <KEY_RESTART>;
 89                         gpios = <&gpio1 23 GPI     89                         gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
 90                         debounce-interval = <1     90                         debounce-interval = <100>;
 91                 };                                 91                 };
 92                 button-usb {                       92                 button-usb {
 93                         label = "USB VBUS erro     93                         label = "USB VBUS error";
 94                         linux,code = <KEY_UNKN     94                         linux,code = <KEY_UNKNOWN>;
 95                         gpios = <&gpio1 21 GPI     95                         gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
 96                         debounce-interval = <1     96                         debounce-interval = <100>;
 97                 };                                 97                 };
 98         };                                         98         };
 99                                                    99 
100         gpio-leds {                               100         gpio-leds {
101                 compatible = "gpio-leds";         101                 compatible = "gpio-leds";
102                                                   102 
103                 led-red-sata0 {                   103                 led-red-sata0 {
104                         label = "cumulus:red:s    104                         label = "cumulus:red:sata0";
105                         gpios = <&gpio1 26 GPI    105                         gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
106                         default-state = "off";    106                         default-state = "off";
107                 };                                107                 };
108         };                                        108         };
109                                                   109 
110         gpio_poweroff {                           110         gpio_poweroff {
111                 compatible = "gpio-poweroff";     111                 compatible = "gpio-poweroff";
112                 gpios = <&gpio1 25 GPIO_ACTIVE    112                 gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
113         };                                        113         };
114 };                                                114 };
115                                                   115 
116 &pciec {                                          116 &pciec {
117         status = "okay";                          117         status = "okay";
118                                                   118 
119         /* USB 3.0 Bridge ASM1042A */             119         /* USB 3.0 Bridge ASM1042A */
120         pcie@1,0 {                                120         pcie@1,0 {
121                 status = "okay";                  121                 status = "okay";
122         };                                        122         };
123 };                                                123 };
124                                                   124 
125 &mdio {                                           125 &mdio {
126         pinctrl-0 = <&mdio_pins>;                 126         pinctrl-0 = <&mdio_pins>;
127         pinctrl-names = "default";                127         pinctrl-names = "default";
128                                                   128 
129         phy0: ethernet-phy@0 {                    129         phy0: ethernet-phy@0 {
130                 reg = <0>;                        130                 reg = <0>;
131         };                                        131         };
132 };                                                132 };
133                                                   133 
134 &pinctrl {                                        134 &pinctrl {
135         pinctrl-0 = <&sata_led_pin>;              135         pinctrl-0 = <&sata_led_pin>;
136         pinctrl-names = "default";                136         pinctrl-names = "default";
137                                                   137 
138         sata_led_pin: sata-led-pin {              138         sata_led_pin: sata-led-pin {
139                 marvell,pins = "mpp60";           139                 marvell,pins = "mpp60";
140                 marvell,function = "sata0";       140                 marvell,function = "sata0";
141         };                                        141         };
142         gpio_led_pin: gpio-led-pin {              142         gpio_led_pin: gpio-led-pin {
143                 marvell,pins = "mpp60";           143                 marvell,pins = "mpp60";
144                 marvell,function = "gpio";        144                 marvell,function = "gpio";
145         };                                        145         };
146 };                                                146 };
147                                                   147 
148 &spi0 {                                           148 &spi0 {
149         status = "okay";                          149         status = "okay";
150         pinctrl-0 = <&spi0_pins2>;                150         pinctrl-0 = <&spi0_pins2>;
151         pinctrl-names = "default";                151         pinctrl-names = "default";
152                                                   152 
153         flash@0 {                                 153         flash@0 {
154                 #address-cells = <1>;             154                 #address-cells = <1>;
155                 #size-cells = <1>;                155                 #size-cells = <1>;
156                 /* MX25L8006E */                  156                 /* MX25L8006E */
157                 compatible = "mxicy,mx25l8005"    157                 compatible = "mxicy,mx25l8005", "jedec,spi-nor";
158                 reg = <0>; /* Chip select 0 */    158                 reg = <0>; /* Chip select 0 */
159                 spi-max-frequency = <50000000>    159                 spi-max-frequency = <50000000>;
160                                                   160 
161                 partition@0 {                     161                 partition@0 {
162                         label = "u-boot";         162                         label = "u-boot";
163                         reg = <0x0 0x100000>;     163                         reg = <0x0 0x100000>;
164                 };                                164                 };
165         };                                        165         };
166 };                                                166 };
                                                      

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