1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
5 model = "ZyXEL NSA310";
18 pinctrl: pin-controller@10000 {
20 pmx_usb_power: pmx-usb-power {
21 marvell,pins = "mpp21";
22 marvell,function = "gpio";
25 pmx_pwr_off: pmx-pwr-off {
26 marvell,pins = "mpp48";
27 marvell,function = "gpio";
30 pmx_btn_reset: pmx-btn-reset {
31 marvell,pins = "mpp36";
32 marvell,function = "gpio";
35 pmx_btn_copy: pmx-btn-copy {
36 marvell,pins = "mpp37";
37 marvell,function = "gpio";
40 pmx_btn_power: pmx-btn-power {
41 marvell,pins = "mpp46";
42 marvell,function = "gpio";
45 pmx_led_copy_green: pmx-led-copy-green {
46 marvell,pins = "mpp39";
47 marvell,function = "gpio";
50 pmx_led_copy_red: pmx-led-copy-red {
51 marvell,pins = "mpp40";
52 marvell,function = "gpio";
67 compatible = "gpio-poweroff";
68 pinctrl-0 = <&pmx_pwr_off>;
69 pinctrl-names = "default";
70 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
74 compatible = "gpio-keys";
77 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
78 pinctrl-names = "default";
81 label = "Power Button";
82 linux,code = <KEY_POWER>;
83 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
86 label = "Copy Button";
87 linux,code = <KEY_COPY>;
88 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
91 label = "Reset Button";
92 linux,code = <KEY_RESTART>;
93 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
99 compatible = "simple-bus";
100 #address-cells = <1>;
102 pinctrl-0 = <&pmx_usb_power>;
103 pinctrl-names = "default";
105 usb0_power: regulator@1 {
106 compatible = "regulator-fixed";
108 regulator-name = "USB Power";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
113 gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
124 reg = <0x0000000 0x0100000>;
129 reg = <0x0100000 0x0080000>;
133 reg = <0x0180000 0x0080000>;
137 reg = <0x0200000 0x0080000>;
141 reg = <0x0280000 0x0a00000>;
145 reg = <0x0c80000 0x0a00000>;
149 reg = <0x1680000 0x2fc0000>;
153 reg = <0x4640000 0x0a00000>;
157 reg = <0x5040000 0x2fc0000>;