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