#include "vr9.dtsi" #include #include / { compatible = "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9"; chosen { bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp"; }; aliases { led-boot = &power_green; led-failsafe = &power_red; led-running = &power_green; led-upgrade = &power_green; led-dsl = &dsl; led-internet = &internet_green; led-wifi = &wifi; }; memory@0 { device_type = "memory"; reg = <0x0 0x4000000>; }; keys { compatible = "gpio-keys-polled"; poll-interval = <100>; reset { label = "reset"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; linux,code = ; }; wps { label = "wps"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; linux,code = ; }; }; leds { compatible = "gpio-leds"; dsl: dsl { label = "green:dsl"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; }; internet_red { label = "red:internet"; gpios = <&gpio 10 GPIO_ACTIVE_LOW>; }; info_red { label = "red:info"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; }; power_green: power { label = "green:power"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; default-state = "keep"; }; info_green { label = "green:info"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; }; internet_green: internet_green { label = "green:internet"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; }; wifi: wifi { label = "green:wlan"; gpios = <&gpio 20 GPIO_ACTIVE_LOW>; }; power_red: power2 { label = "red:power"; gpios = <&gpio 28 GPIO_ACTIVE_LOW>; }; phone { label = "green:telefon"; gpios = <&gpio 29 GPIO_ACTIVE_LOW>; }; }; usb_vbus: regulator-usb-vbus { compatible = "regulator-fixed"; regulator-name = "USB_VBUS"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&gpio 47 GPIO_ACTIVE_HIGH>; enable-active-high; }; }; ð0 { mtd-mac-address = <&boardconfig 0x16>; }; &gphy0 { lantiq,gphy-mode = ; }; &gphy1 { lantiq,gphy-mode = ; }; &gpio { pinctrl-names = "default"; pinctrl-0 = <&state_default>, <&gphy0_led1_pins>; state_default: pinmux { pci-rst { lantiq,pins = "io21"; lantiq,open-drain = <0>; lantiq,pull = <0>; lantiq,output = <1>; }; }; }; &gswip { pinctrl-0 = <&mdio_pins>, <&gphy0_led0_pins>, <&gphy1_led0_pins>, <&gphy1_led1_pins>; pinctrl-names = "default"; }; &gswip_mdio { phy1: ethernet-phy@1 { reg = <0x1>; }; phy11: ethernet-phy@11 { reg = <0x11>; }; phy12: ethernet-phy@12 { reg = <0x12>; }; phy13: ethernet-phy@13 { reg = <0x13>; }; phy14: ethernet-phy@14 { reg = <0x14>; }; }; &gswip_ports { port@0 { reg = <0>; label = "wan"; phy-mode = "mii"; phy-handle = <&phy1>; }; port@2 { reg = <2>; label = "lan2"; phy-mode = "internal"; phy-handle = <&phy11>; }; port@3 { reg = <3>; label = "lan1"; phy-mode = "internal"; phy-handle = <&phy12>; }; port@4 { reg = <4>; label = "lan4"; phy-mode = "internal"; phy-handle = <&phy13>; }; port@5 { reg = <5>; label = "lan3"; phy-mode = "internal"; phy-handle = <&phy14>; }; }; &localbus { flash@0 { compatible = "lantiq,nor"; bank-width = <2>; reg = <0 0x0 0x1000000>; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; boardconfig: partition@fe0000 { label = "board_config"; reg = <0xfe0000 0x20000>; read-only; }; }; }; }; &pci0 { status = "okay"; gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; wifi@1814,3592 { compatible = "pci1814,3592"; reg = <0x7000 0 0 0 0>; ralink,mtd-eeprom = <&boardconfig 0x410>; ralink,mtd-eeprom-swap; mtd-mac-address = <&boardconfig 0x16>; mac-address-increment = <1>; }; }; &pcie0 { status = "disabled"; }; &usb_phy0 { status = "okay"; }; &usb0 { status = "okay"; vbus-supply = <&usb_vbus>; }; &vmmc { status = "okay"; gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay &gpio 31 GPIO_ACTIVE_HIGH //still unknown &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic? };