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