]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/kirkwood-ib62x0.dts
Merge remote-tracking branch 'asoc/topic/cs4271' into asoc-next
[karo-tx-linux.git] / arch / arm / boot / dts / kirkwood-ib62x0.dts
1 /dts-v1/;
2
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6281.dtsi"
5
6 / {
7         model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
8         compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0",  "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x10000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17         };
18
19         ocp@f1000000 {
20                 pinctrl: pinctrl@10000 {
21
22                         pinctrl-0 = < &pmx_nand
23                                       &pmx_led_os_red &pmx_power_off
24                                       &pmx_led_os_green &pmx_led_usb_transfer
25                                       &pmx_button_reset &pmx_button_usb_copy >;
26                         pinctrl-names = "default";
27
28                         pmx_led_os_red: pmx-led-os-red {
29                                 marvell,pins = "mpp22";
30                                 marvell,function = "gpio";
31                         };
32                         pmx_power_off: pmx-power-off {
33                                 marvell,pins = "mpp24";
34                                 marvell,function = "gpio";
35                         };
36                         pmx_led_os_green: pmx-led-os-green {
37                                 marvell,pins = "mpp25";
38                                 marvell,function = "gpio";
39                         };
40                         pmx_led_usb_transfer: pmx-led-usb-transfer {
41                                 marvell,pins = "mpp27";
42                                 marvell,function = "gpio";
43                         };
44                         pmx_button_reset: pmx-button-reset {
45                                 marvell,pins = "mpp28";
46                                 marvell,function = "gpio";
47                         };
48                         pmx_button_usb_copy: pmx-button-usb-copy {
49                                 marvell,pins = "mpp29";
50                                 marvell,function = "gpio";
51                         };
52                 };
53                 serial@12000 {
54                         clock-frequency = <200000000>;
55                         status = "okay";
56                 };
57
58                 sata@80000 {
59                         status = "okay";
60                         nr-ports = <2>;
61                 };
62
63                 nand@3000000 {
64                         status = "okay";
65
66                         partition@0 {
67                                 label = "u-boot";
68                                 reg = <0x0000000 0x100000>;
69                         };
70
71                         partition@100000 {
72                                 label = "uImage";
73                                 reg = <0x0100000 0x600000>;
74                         };
75
76                         partition@700000 {
77                                 label = "root";
78                                 reg = <0x0700000 0xf900000>;
79                         };
80
81                 };
82         };
83
84         gpio_keys {
85                 compatible = "gpio-keys";
86                 #address-cells = <1>;
87                 #size-cells = <0>;
88                 button@1 {
89                         label = "USB Copy";
90                         linux,code = <133>;
91                         gpios = <&gpio0 29 1>;
92                 };
93                 button@2 {
94                         label = "Reset";
95                         linux,code = <0x198>;
96                         gpios = <&gpio0 28 1>;
97                 };
98         };
99         gpio-leds {
100                 compatible = "gpio-leds";
101
102                 green-os {
103                         label = "ib62x0:green:os";
104                         gpios = <&gpio0 25 0>;
105                         linux,default-trigger = "default-on";
106                 };
107                 red-os {
108                         label = "ib62x0:red:os";
109                         gpios = <&gpio0 22 0>;
110                 };
111                 usb-copy {
112                         label = "ib62x0:red:usb_copy";
113                         gpios = <&gpio0 27 0>;
114                 };
115         };
116         gpio_poweroff {
117                 compatible = "gpio-poweroff";
118                 gpios = <&gpio0 24 0>;
119         };
120
121
122 };