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