Merge tag 'ntb-3.13' of git://github.com/jonmason/ntb
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / kirkwood-nsa310-common.dtsi
1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
3
4 / {
5         model = "ZyXEL NSA310";
6
7         ocp@f1000000 {
8                 pinctrl: pinctrl@10000 {
9
10                         pmx_usb_power_off: pmx-usb-power-off {
11                                 marvell,pins = "mpp21";
12                                 marvell,function = "gpio";
13                         };
14                         pmx_pwr_off: pmx-pwr-off {
15                                 marvell,pins = "mpp48";
16                                 marvell,function = "gpio";
17                         };
18
19                 };
20
21                 serial@12000 {
22                         status = "ok";
23                 };
24
25                 sata@80000 {
26                         status = "okay";
27                         nr-ports = <2>;
28                 };
29
30                 pcie-controller {
31                         status = "okay";
32
33                         pcie@1,0 {
34                                 status = "okay";
35                         };
36                 };
37         };
38
39         gpio_poweroff {
40                 compatible = "gpio-poweroff";
41                 pinctrl-0 = <&pmx_pwr_off>;
42                 pinctrl-names = "default";
43                 gpios = <&gpio1 16 0>;
44         };
45
46         regulators {
47                 compatible = "simple-bus";
48                 #address-cells = <1>;
49                 #size-cells = <0>;
50                 pinctrl-0 = <&pmx_usb_power_off>;
51                 pinctrl-names = "default";
52
53                 usb0_power_off: regulator@1 {
54                         compatible = "regulator-fixed";
55                         reg = <1>;
56                         regulator-name = "USB Power Off";
57                         regulator-min-microvolt = <5000000>;
58                         regulator-max-microvolt = <5000000>;
59                         regulator-always-on;
60                         regulator-boot-on;
61                         gpio = <&gpio0 21 0>;
62                 };
63         };
64 };
65
66 &nand {
67         status = "okay";
68         chip-delay = <35>;
69
70         partition@0 {
71                 label = "uboot";
72                 reg = <0x0000000 0x0100000>;
73                 read-only;
74         };
75         partition@100000 {
76                 label = "uboot_env";
77                 reg = <0x0100000 0x0080000>;
78         };
79         partition@180000 {
80                 label = "key_store";
81                 reg = <0x0180000 0x0080000>;
82         };
83         partition@200000 {
84                 label = "info";
85                 reg = <0x0200000 0x0080000>;
86         };
87         partition@280000 {
88                 label = "etc";
89                 reg = <0x0280000 0x0a00000>;
90         };
91         partition@c80000 {
92                 label = "kernel_1";
93                 reg = <0x0c80000 0x0a00000>;
94         };
95         partition@1680000 {
96                 label = "rootfs1";
97                 reg = <0x1680000 0x2fc0000>;
98         };
99         partition@4640000 {
100                 label = "kernel_2";
101                 reg = <0x4640000 0x0a00000>;
102         };
103         partition@5040000 {
104                 label = "rootfs2";
105                 reg = <0x5040000 0x2fc0000>;
106         };
107 };