1724ba675SRob Herring/* 2724ba675SRob Herring * Broadcom BCM470X / BCM5301X arm platform code. 3724ba675SRob Herring * DTS for Netgear R6250 V1 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> 6724ba675SRob Herring * 7724ba675SRob Herring * Licensed under the GNU/GPL. See COPYING for details. 8724ba675SRob Herring */ 9724ba675SRob Herring 10724ba675SRob Herring/dts-v1/; 11724ba675SRob Herring 12724ba675SRob Herring#include "bcm4708.dtsi" 13724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 14724ba675SRob Herring 15724ba675SRob Herring/ { 16724ba675SRob Herring compatible = "netgear,r6250-v1", "brcm,bcm4708"; 17724ba675SRob Herring model = "Netgear R6250 V1 (BCM4708)"; 18724ba675SRob Herring 19724ba675SRob Herring chosen { 20724ba675SRob Herring bootargs = "console=ttyS0,115200 earlycon"; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring memory@0 { 24724ba675SRob Herring device_type = "memory"; 25724ba675SRob Herring reg = <0x00000000 0x08000000>, 26724ba675SRob Herring <0x88000000 0x08000000>; 27724ba675SRob Herring }; 28724ba675SRob Herring 29724ba675SRob Herring leds { 30724ba675SRob Herring compatible = "gpio-leds"; 31724ba675SRob Herring 32724ba675SRob Herring led-logo { 33724ba675SRob Herring label = "bcm53xx:white:logo"; 34724ba675SRob Herring gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 35724ba675SRob Herring linux,default-trigger = "default-on"; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring led-power0 { 39724ba675SRob Herring label = "bcm53xx:green:power"; 40724ba675SRob Herring gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 41724ba675SRob Herring linux,default-trigger = "default-on"; 42724ba675SRob Herring }; 43724ba675SRob Herring 44724ba675SRob Herring led-power1 { 45724ba675SRob Herring label = "bcm53xx:amber:power"; 46724ba675SRob Herring gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring led-usb { 50724ba675SRob Herring label = "bcm53xx:blue:usb"; 51724ba675SRob Herring gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 52724ba675SRob Herring trigger-sources = <&ohci_port1>, <&ehci_port1>, 53724ba675SRob Herring <&xhci_port1>; 54724ba675SRob Herring linux,default-trigger = "usbport"; 55724ba675SRob Herring }; 56724ba675SRob Herring 57724ba675SRob Herring led-wireless { 58724ba675SRob Herring label = "bcm53xx:blue:wireless"; 59724ba675SRob Herring gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 60724ba675SRob Herring }; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring gpio-keys { 64724ba675SRob Herring compatible = "gpio-keys"; 65724ba675SRob Herring 66724ba675SRob Herring button-wps { 67724ba675SRob Herring label = "WPS"; 68724ba675SRob Herring linux,code = <KEY_WPS_BUTTON>; 69724ba675SRob Herring gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; 70724ba675SRob Herring }; 71724ba675SRob Herring 72724ba675SRob Herring button-rfkill { 73724ba675SRob Herring label = "WiFi"; 74724ba675SRob Herring linux,code = <KEY_RFKILL>; 75724ba675SRob Herring gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring button-restart { 79724ba675SRob Herring label = "Reset"; 80724ba675SRob Herring linux,code = <KEY_RESTART>; 81724ba675SRob Herring gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 82724ba675SRob Herring }; 83724ba675SRob Herring }; 84724ba675SRob Herring}; 85724ba675SRob Herring 86724ba675SRob Herring&usb3 { 87724ba675SRob Herring vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 88724ba675SRob Herring}; 89724ba675SRob Herring 90724ba675SRob Herring&spi_nor { 91724ba675SRob Herring status = "okay"; 92724ba675SRob Herring}; 93724ba675SRob Herring 94724ba675SRob Herring&usb3_phy { 95724ba675SRob Herring status = "okay"; 96724ba675SRob Herring}; 97724ba675SRob Herring 98724ba675SRob Herring&srab { 99724ba675SRob Herring status = "okay"; 100724ba675SRob Herring 101724ba675SRob Herring ports { 102724ba675SRob Herring port@0 { 103724ba675SRob Herring label = "lan4"; 104724ba675SRob Herring }; 105724ba675SRob Herring 106724ba675SRob Herring port@1 { 107724ba675SRob Herring label = "lan3"; 108724ba675SRob Herring }; 109724ba675SRob Herring 110724ba675SRob Herring port@2 { 111724ba675SRob Herring label = "lan2"; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring port@3 { 115724ba675SRob Herring label = "lan1"; 116724ba675SRob Herring }; 117724ba675SRob Herring 118724ba675SRob Herring port@4 { 119724ba675SRob Herring label = "wan"; 120724ba675SRob Herring }; 121724ba675SRob Herring 122724ba675SRob Herring port@5 { 123724ba675SRob Herring label = "cpu"; 124724ba675SRob Herring }; 125*473baeabSRafał Miłecki 126*473baeabSRafał Miłecki port@7 { 127*473baeabSRafał Miłecki status = "disabled"; 128*473baeabSRafał Miłecki }; 129*473baeabSRafał Miłecki 130*473baeabSRafał Miłecki port@8 { 131*473baeabSRafał Miłecki status = "disabled"; 132*473baeabSRafał Miłecki }; 133724ba675SRob Herring }; 134724ba675SRob Herring}; 135