1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl> 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring/dts-v1/; 7*724ba675SRob Herring 8*724ba675SRob Herring#include "bcm47094.dtsi" 9*724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708"; 13*724ba675SRob Herring model = "Netgear R8500"; 14*724ba675SRob Herring 15*724ba675SRob Herring chosen { 16*724ba675SRob Herring bootargs = "console=ttyS0,115200"; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring memory@0 { 20*724ba675SRob Herring device_type = "memory"; 21*724ba675SRob Herring reg = <0x00000000 0x08000000>, 22*724ba675SRob Herring <0x88000000 0x18000000>; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring leds { 26*724ba675SRob Herring compatible = "gpio-leds"; 27*724ba675SRob Herring 28*724ba675SRob Herring led-power0 { 29*724ba675SRob Herring label = "bcm53xx:white:power"; 30*724ba675SRob Herring gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 31*724ba675SRob Herring linux,default-trigger = "default-on"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring led-power1 { 35*724ba675SRob Herring label = "bcm53xx:amber:power"; 36*724ba675SRob Herring gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring led-5ghz-1 { 40*724ba675SRob Herring label = "bcm53xx:white:5ghz-1"; 41*724ba675SRob Herring gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring led-5ghz-2 { 45*724ba675SRob Herring label = "bcm53xx:white:5ghz-2"; 46*724ba675SRob Herring gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring led-2ghz { 50*724ba675SRob Herring label = "bcm53xx:white:2ghz"; 51*724ba675SRob Herring gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring led-usb2 { 55*724ba675SRob Herring label = "bcm53xx:white:usb2"; 56*724ba675SRob Herring gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring led-usb3 { 60*724ba675SRob Herring label = "bcm53xx:white:usb3"; 61*724ba675SRob Herring gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; 62*724ba675SRob Herring }; 63*724ba675SRob Herring }; 64*724ba675SRob Herring 65*724ba675SRob Herring gpio-keys { 66*724ba675SRob Herring compatible = "gpio-keys"; 67*724ba675SRob Herring 68*724ba675SRob Herring button-brightness { 69*724ba675SRob Herring label = "Backlight"; 70*724ba675SRob Herring linux,code = <KEY_BRIGHTNESS_ZERO>; 71*724ba675SRob Herring gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 72*724ba675SRob Herring }; 73*724ba675SRob Herring 74*724ba675SRob Herring button-restart { 75*724ba675SRob Herring label = "Reset"; 76*724ba675SRob Herring linux,code = <KEY_RESTART>; 77*724ba675SRob Herring gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring button-wps { 81*724ba675SRob Herring label = "WPS"; 82*724ba675SRob Herring linux,code = <KEY_WPS_BUTTON>; 83*724ba675SRob Herring gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 84*724ba675SRob Herring }; 85*724ba675SRob Herring 86*724ba675SRob Herring button-rfkill { 87*724ba675SRob Herring label = "WiFi"; 88*724ba675SRob Herring linux,code = <KEY_RFKILL>; 89*724ba675SRob Herring gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; 90*724ba675SRob Herring }; 91*724ba675SRob Herring }; 92*724ba675SRob Herring}; 93*724ba675SRob Herring 94*724ba675SRob Herring&usb3_phy { 95*724ba675SRob Herring status = "okay"; 96*724ba675SRob Herring}; 97