1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
5 model = "ZyXEL NSA310";
8 pinctrl: pin-controller@10000 {
10 pmx_usb_power: pmx-usb-power {
11 marvell,pins = "mpp21";
12 marvell,function = "gpio";
15 pmx_pwr_off: pmx-pwr-off {
16 marvell,pins = "mpp48";
17 marvell,function = "gpio";
20 pmx_btn_reset: pmx-btn-reset {
21 marvell,pins = "mpp36";
22 marvell,function = "gpio";
25 pmx_btn_copy: pmx-btn-copy {
26 marvell,pins = "mpp37";
27 marvell,function = "gpio";
30 pmx_btn_power: pmx-btn-power {
31 marvell,pins = "mpp46";
32 marvell,function = "gpio";
35 pmx_led_copy_green: pmx-led-copy-green {
36 marvell,pins = "mpp39";
37 marvell,function = "gpio";
40 pmx_led_copy_red: pmx-led-copy-red {
41 marvell,pins = "mpp40";
42 marvell,function = "gpio";
65 compatible = "gpio-poweroff";
66 pinctrl-0 = <&pmx_pwr_off>;
67 pinctrl-names = "default";
68 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
72 compatible = "gpio-keys";
75 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
76 pinctrl-names = "default";
79 label = "Power Button";
80 linux,code = <KEY_POWER>;
81 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
84 label = "Copy Button";
85 linux,code = <KEY_COPY>;
86 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
89 label = "Reset Button";
90 linux,code = <KEY_RESTART>;
91 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
97 compatible = "simple-bus";
100 pinctrl-0 = <&pmx_usb_power>;
101 pinctrl-names = "default";
103 usb0_power: regulator@1 {
104 compatible = "regulator-fixed";
106 regulator-name = "USB Power";
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
111 gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
122 reg = <0x0000000 0x0100000>;
127 reg = <0x0100000 0x0080000>;
131 reg = <0x0180000 0x0080000>;
135 reg = <0x0200000 0x0080000>;
139 reg = <0x0280000 0x0a00000>;
143 reg = <0x0c80000 0x0a00000>;
147 reg = <0x1680000 0x2fc0000>;
151 reg = <0x4640000 0x0a00000>;
155 reg = <0x5040000 0x2fc0000>;