xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm4709-asus-rt-ac87u.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Broadcom BCM470X / BCM5301X ARM platform code.
4*724ba675SRob Herring * DTS for Asus RT-AC87U
5*724ba675SRob Herring *
6*724ba675SRob Herring * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/dts-v1/;
10*724ba675SRob Herring
11*724ba675SRob Herring#include "bcm4709.dtsi"
12*724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi"
13*724ba675SRob Herring
14*724ba675SRob Herring/ {
15*724ba675SRob Herring	compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708";
16*724ba675SRob Herring	model = "Asus RT-AC87U";
17*724ba675SRob Herring
18*724ba675SRob Herring	chosen {
19*724ba675SRob Herring		bootargs = "console=ttyS0,115200";
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	memory@0 {
23*724ba675SRob Herring		device_type = "memory";
24*724ba675SRob Herring		reg = <0x00000000 0x08000000>,
25*724ba675SRob Herring		      <0x88000000 0x08000000>;
26*724ba675SRob Herring	};
27*724ba675SRob Herring
28*724ba675SRob Herring	leds {
29*724ba675SRob Herring		compatible = "gpio-leds";
30*724ba675SRob Herring
31*724ba675SRob Herring		led-wps {
32*724ba675SRob Herring			label = "bcm53xx:blue:wps";
33*724ba675SRob Herring			gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
34*724ba675SRob Herring		};
35*724ba675SRob Herring
36*724ba675SRob Herring		led-power {
37*724ba675SRob Herring			label = "bcm53xx:blue:power";
38*724ba675SRob Herring			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
39*724ba675SRob Herring			linux,default-trigger = "default-on";
40*724ba675SRob Herring		};
41*724ba675SRob Herring
42*724ba675SRob Herring		led-wan {
43*724ba675SRob Herring			label = "bcm53xx:red:wan";
44*724ba675SRob Herring			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
45*724ba675SRob Herring		};
46*724ba675SRob Herring	};
47*724ba675SRob Herring
48*724ba675SRob Herring	gpio-keys {
49*724ba675SRob Herring		compatible = "gpio-keys";
50*724ba675SRob Herring
51*724ba675SRob Herring		button-wps {
52*724ba675SRob Herring			label = "WPS";
53*724ba675SRob Herring			linux,code = <KEY_WPS_BUTTON>;
54*724ba675SRob Herring			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
55*724ba675SRob Herring		};
56*724ba675SRob Herring
57*724ba675SRob Herring		button-restart {
58*724ba675SRob Herring			label = "Reset";
59*724ba675SRob Herring			linux,code = <KEY_RESTART>;
60*724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
61*724ba675SRob Herring		};
62*724ba675SRob Herring	};
63*724ba675SRob Herring};
64*724ba675SRob Herring
65*724ba675SRob Herring&usb3_phy {
66*724ba675SRob Herring	status = "okay";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&nandcs {
70*724ba675SRob Herring	partitions {
71*724ba675SRob Herring		compatible = "fixed-partitions";
72*724ba675SRob Herring		#address-cells = <1>;
73*724ba675SRob Herring		#size-cells = <1>;
74*724ba675SRob Herring
75*724ba675SRob Herring		boot@0 {
76*724ba675SRob Herring			label = "boot";
77*724ba675SRob Herring			reg = <0x00000000 0x00080000>;
78*724ba675SRob Herring			read-only;
79*724ba675SRob Herring		};
80*724ba675SRob Herring
81*724ba675SRob Herring		nvram@80000 {
82*724ba675SRob Herring			label = "nvram";
83*724ba675SRob Herring			reg = <0x00080000 0x00180000>;
84*724ba675SRob Herring		};
85*724ba675SRob Herring
86*724ba675SRob Herring		firmware@200000 {
87*724ba675SRob Herring			label = "firmware";
88*724ba675SRob Herring			reg = <0x00200000 0x07cc0000>;
89*724ba675SRob Herring			compatible = "brcm,trx";
90*724ba675SRob Herring		};
91*724ba675SRob Herring
92*724ba675SRob Herring		asus@7ec0000 {
93*724ba675SRob Herring			label = "asus";
94*724ba675SRob Herring			reg = <0x07ec0000 0x00140000>;
95*724ba675SRob Herring			read-only;
96*724ba675SRob Herring		};
97*724ba675SRob Herring	};
98*724ba675SRob Herring};
99