-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
- memory {
- reg = <0 0x40000000 0 0x40000000>;
- };
-
- reg_1p8v: regulator-1p8v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-1.8V";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- reg_5v: regulator-5v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-5V";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- gpio-keys {
- compatible = "gpio-keys";
- poll-interval = <20>;
-
- reset-button {
- label = "reset";
- gpios = <&pio 21 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
- };
-
- wlan-button {
- label = "wlan";
- gpios = <&pio 11 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_WLAN>;
- };
- wps-button {
- label = "wps";
- gpios = <&pio 56 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_WPS_BUTTON>;
- };
- };
-
- zyleds {
- compatible = "gpio-leds";
-
- led_green_wifi24g {
- label = "zyled-green-wifi24g";
- gpios = <&pio 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led_green_wifi5g {
- label = "zyled-green-wifi5g";
- gpios = <&pio 2 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led_green_inet {
- label = "zyled-green-inet";
- gpios = <&pio 14 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led_red_inet {
- label = "zyled-red-inet";
- gpios = <&pio 15 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led_green_pwr {
- label = "zyled-green-pwr";
- gpios = <&pio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "timer"; /* Default blinking */
- led-pattern = <125 125>; /* Fast blink is 4 HZ */
- };
-
- led_red_pwr {
- label = "zyled-red-pwr";
- gpios = <&pio 12 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led_green_fxs {
- label = "zyled-green-fxs";
- gpios = <&pio 16 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- led_amber_fxs {
- label = "zyled-amber-fxs";
- gpios = <&pio 17 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- led_amber_wps24g {
- label = "zyled-amber-wps24g";
- gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- led_amber_wps5g {
- label = "zyled-amber-wps5g";
- gpios = <&pio 19 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- led_green_lan {
- label = "zyled-green-lan";
- gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- led_green_sfp {
- label = "zyled-green-sfp";
- gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- };
-