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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-ib62x0.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ 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 = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
  9         compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "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                         pmx_led_os_red: pmx-led-os-red {
 24                                 marvell,pins = "mpp22";
 25                                 marvell,function = "gpio";
 26                         };
 27                         pmx_power_off: pmx-power-off {
 28                                 marvell,pins = "mpp24";
 29                                 marvell,function = "gpio";
 30                         };
 31                         pmx_led_os_green: pmx-led-os-green {
 32                                 marvell,pins = "mpp25";
 33                                 marvell,function = "gpio";
 34                         };
 35                         pmx_led_usb_transfer: pmx-led-usb-transfer {
 36                                 marvell,pins = "mpp27";
 37                                 marvell,function = "gpio";
 38                         };
 39                         pmx_button_reset: pmx-button-reset {
 40                                 marvell,pins = "mpp28";
 41                                 marvell,function = "gpio";
 42                         };
 43                         pmx_button_usb_copy: pmx-button-usb-copy {
 44                                 marvell,pins = "mpp29";
 45                                 marvell,function = "gpio";
 46                         };
 47                 };
 48 
 49                 serial@12000 {
 50                         status = "okay";
 51                 };
 52 
 53                 sata@80000 {
 54                         status = "okay";
 55                         nr-ports = <2>;
 56                 };
 57         };
 58 
 59         gpio_keys {
 60                 compatible = "gpio-keys";
 61                 pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
 62                 pinctrl-names = "default";
 63 
 64                 button-copy {
 65                         label = "USB Copy";
 66                         linux,code = <KEY_COPY>;
 67                         gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
 68                 };
 69                 button-reset {
 70                         label = "Reset";
 71                         linux,code = <KEY_RESTART>;
 72                         gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
 73                 };
 74         };
 75 
 76         gpio-leds {
 77                 compatible = "gpio-leds";
 78                 pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
 79                              &pmx_led_usb_transfer>;
 80                 pinctrl-names = "default";
 81 
 82                 led-green-os {
 83                         label = "ib62x0:green:os";
 84                         gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
 85                         default-state = "keep";
 86                 };
 87                 led-red-os {
 88                         label = "ib62x0:red:os";
 89                         gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
 90                 };
 91                 led-usb-copy {
 92                         label = "ib62x0:red:usb_copy";
 93                         gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
 94                 };
 95         };
 96 
 97         gpio_poweroff {
 98                 compatible = "gpio-poweroff";
 99                 pinctrl-0 = <&pmx_power_off>;
100                 pinctrl-names = "default";
101                 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
102         };
103 };
104 
105 &nand {
106         status = "okay";
107 
108         partition@0 {
109                 label = "u-boot";
110                 reg = <0x0000000 0xe0000>;
111         };
112 
113         partition@e0000 {
114                 label = "u-boot environment";
115                 reg = <0xe0000 0x20000>;
116         };
117 
118         partition@100000 {
119                 label = "uImage";
120                 reg = <0x0100000 0x600000>;
121         };
122 
123         partition@700000 {
124                 label = "root";
125                 reg = <0x0700000 0xf900000>;
126         };
127 
128 };
129 
130 &mdio {
131         status = "okay";
132 
133         ethphy0: ethernet-phy@8 {
134                 reg = <8>;
135         };
136 };
137 
138 &eth0 {
139         status = "okay";
140 
141         ethernet0-port@0 {
142                 phy-handle = <&ethphy0>;
143         };
144 };

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