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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-iomega_ix2_200.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 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 
  4 #include "kirkwood.dtsi"
  5 #include "kirkwood-6281.dtsi"
  6 
  7 / {
  8         model = "Iomega StorCenter ix2-200";
  9         compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 10 
 11         memory {
 12                 device_type = "memory";
 13                 reg = <0x00000000 0x10000000>;
 14         };
 15 
 16         chosen {
 17                 bootargs = "console=ttyS0,115200n8 earlyprintk";
 18                 stdout-path = &uart0;
 19         };
 20 
 21         ocp@f1000000 {
 22                 pinctrl: pin-controller@10000 {
 23                         pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
 24                                       &pmx_led_sata_brt_ctrl_2
 25                                       &pmx_led_backup_brt_ctrl_1
 26                                       &pmx_led_backup_brt_ctrl_2
 27                                       &pmx_led_power_brt_ctrl_1
 28                                       &pmx_led_power_brt_ctrl_2
 29                                       &pmx_led_health_brt_ctrl_1
 30                                       &pmx_led_health_brt_ctrl_2
 31                                       &pmx_led_rebuild_brt_ctrl_1
 32                                       &pmx_led_rebuild_brt_ctrl_2 >;
 33                         pinctrl-names = "default";
 34 
 35                         pmx_button_reset: pmx-button-reset {
 36                                 marvell,pins = "mpp12";
 37                                 marvell,function = "gpio";
 38                         };
 39                         pmx_button_power: pmx-button-power {
 40                                 marvell,pins = "mpp14";
 41                                 marvell,function = "gpio";
 42                         };
 43                         pmx_led_backup: pmx-led-backup {
 44                                 marvell,pins = "mpp15";
 45                                 marvell,function = "gpio";
 46                         };
 47                         pmx_led_power: pmx-led-power {
 48                                 marvell,pins = "mpp16";
 49                                 marvell,function = "gpio";
 50                         };
 51                         pmx_button_otb: pmx-button-otb {
 52                                 marvell,pins = "mpp35";
 53                                 marvell,function = "gpio";
 54                         };
 55                         pmx_led_rebuild: pmx-led-rebuild {
 56                                 marvell,pins = "mpp36";
 57                                 marvell,function = "gpio";
 58                         };
 59                         pmx_led_health: pmx-led_health {
 60                                 marvell,pins = "mpp37";
 61                                 marvell,function = "gpio";
 62                         };
 63                         pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 {
 64                                 marvell,pins = "mpp38";
 65                                 marvell,function = "gpio";
 66                         };
 67                         pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 {
 68                                 marvell,pins = "mpp39";
 69                                 marvell,function = "gpio";
 70                         };
 71                         pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 {
 72                                 marvell,pins = "mpp40";
 73                                 marvell,function = "gpio";
 74                         };
 75                         pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 {
 76                                 marvell,pins = "mpp41";
 77                                 marvell,function = "gpio";
 78                         };
 79                         pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 {
 80                                 marvell,pins = "mpp42";
 81                                 marvell,function = "gpio";
 82                         };
 83                         pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 {
 84                                 marvell,pins = "mpp43";
 85                                 marvell,function = "gpio";
 86                         };
 87                         pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
 88                                 marvell,pins = "mpp44";
 89                                 marvell,function = "gpio";
 90                         };
 91                         pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
 92                                 marvell,pins = "mpp45";
 93                                 marvell,function = "gpio";
 94                         };
 95                         pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 {
 96                                 marvell,pins = "mpp46";
 97                                 marvell,function = "gpio";
 98                         };
 99                         pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 {
100                                 marvell,pins = "mpp47";
101                                 marvell,function = "gpio";
102                         };
103 
104                 };
105                 i2c@11000 {
106                         status = "okay";
107 
108                         lm63: lm63@4c {
109                                 compatible = "national,lm63";
110                                 reg = <0x4c>;
111                         };
112                 };
113 
114                 serial@12000 {
115                         status = "okay";
116                 };
117 
118                 sata@80000 {
119                         status = "okay";
120                         nr-ports = <2>;
121                 };
122 
123         };
124         gpio-leds {
125                 compatible = "gpio-leds";
126                 pinctrl-0 = < &pmx_led_backup &pmx_led_power
127                               &pmx_led_rebuild &pmx_led_health >;
128                 pinctrl-names = "default";
129 
130                 led-power-led {
131                         label = "status:white:power_led";
132                         gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
133                         default-state = "keep";
134                 };
135                 led-rebuild-led {
136                         label = "status:white:rebuild_led";
137                         gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
138                 };
139                 led-health-led {
140                         label = "status:red:health_led";
141                         gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
142                 };
143                 led-backup-led {
144                         label = "status:blue:backup_led";
145                         gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
146                 };
147         };
148         gpio-keys {
149                 compatible = "gpio-keys";
150                 pinctrl-0 = <&pmx_button_reset &pmx_button_power
151                              &pmx_button_otb>;
152                 pinctrl-names = "default";
153 
154 
155                 button-power {
156                         label = "Power Button";
157                         linux,code = <KEY_POWER>;
158                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
159                 };
160                 button-reset {
161                         label = "Reset Button";
162                         linux,code = <KEY_RESTART>;
163                         gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
164                 };
165                 button-otb {
166                         label = "OTB Button";
167                         linux,code = <KEY_COPY>;
168                         gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
169                 };
170         };
171         gpio-poweroff {
172                 compatible = "gpio-poweroff";
173                 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
174         };
175 };
176 
177 &nand {
178         status = "okay";
179 
180         partition@0 {
181                 label = "u-boot";
182                 reg = <0x0000000 0x100000>;
183                 read-only;
184         };
185 
186         partition@a0000 {
187                 label = "env";
188                 reg = <0xa0000 0x20000>;
189                 read-only;
190         };
191 
192         partition@100000 {
193                 label = "uImage";
194                 reg = <0x100000 0x300000>;
195         };
196 
197         partition@400000 {
198                 label = "rootfs";
199                 reg = <0x400000 0x1C00000>;
200         };
201 };
202 
203 &mdio {
204         status = "okay";
205 
206         ethphy1: ethernet-phy@11 {
207                 reg = <11>;
208         };
209 };
210 
211 &eth0 {
212         status = "okay";
213         ethernet0-port@0 {
214                 speed = <1000>;
215                 duplex = <1>;
216         };
217 };
218 
219 &eth1 {
220         status = "okay";
221         ethernet1-port@0 {
222                 phy-handle = <&ethphy1>;
223         };
224 };

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