Rafał Miłecki | 2b3db67 | 2018-05-02 16:11:02 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Broadcom BCM470X / BCM5301X ARM platform code. |
| 4 | * DTS for Netgear R6300 V2 |
| 5 | * |
| 6 | * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com> |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "bcm4708.dtsi" |
Hauke Mehrtens | 9faa596 | 2015-05-29 23:39:47 +0200 | [diff] [blame] | 12 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | compatible = "netgear,r6300v2", "brcm,bcm4708"; |
| 16 | model = "Netgear R6300 V2 (BCM4708)"; |
| 17 | |
| 18 | chosen { |
| 19 | bootargs = "console=ttyS0,115200"; |
| 20 | }; |
| 21 | |
| 22 | memory { |
Rafał Miłecki | a252ccd3 | 2016-12-07 08:56:54 +0100 | [diff] [blame] | 23 | reg = <0x00000000 0x08000000 |
| 24 | 0x88000000 0x08000000>; |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | leds { |
| 28 | compatible = "gpio-leds"; |
| 29 | |
| 30 | logo { |
| 31 | label = "bcm53xx:white:logo"; |
| 32 | gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; |
| 33 | linux,default-trigger = "default-on"; |
| 34 | }; |
| 35 | |
| 36 | power0 { |
| 37 | label = "bcm53xx:green:power"; |
| 38 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | power1 { |
| 42 | label = "bcm53xx:amber:power"; |
| 43 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; |
| 44 | linux,default-trigger = "default-on"; |
| 45 | }; |
| 46 | |
| 47 | usb { |
| 48 | label = "bcm53xx:blue:usb"; |
| 49 | gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | wireless { |
| 53 | label = "bcm53xx:blue:wireless"; |
| 54 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 55 | }; |
| 56 | }; |
| 57 | |
| 58 | gpio-keys { |
| 59 | compatible = "gpio-keys"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
Rafał Miłecki | 302a5ef | 2014-12-04 10:22:02 +0100 | [diff] [blame] | 62 | |
| 63 | wps { |
| 64 | label = "WPS"; |
| 65 | linux,code = <KEY_WPS_BUTTON>; |
| 66 | gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; |
| 67 | }; |
| 68 | |
| 69 | rfkill { |
| 70 | label = "WiFi"; |
| 71 | linux,code = <KEY_RFKILL>; |
| 72 | gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; |
| 73 | }; |
| 74 | |
| 75 | restart { |
| 76 | label = "Reset"; |
| 77 | linux,code = <KEY_RESTART>; |
| 78 | gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
Rafał Miłecki | 5f79985 | 2016-04-27 09:05:03 +0200 | [diff] [blame] | 82 | |
| 83 | &spi_nor { |
| 84 | status = "okay"; |
| 85 | }; |
Vivek Unune | 37f6130e | 2018-04-09 18:31:53 -0400 | [diff] [blame] | 86 | |
| 87 | &usb3_phy { |
| 88 | status = "okay"; |
| 89 | }; |