[BACK]Return to bcm47081-asus-rt-n18u.dts CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts

File: [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts / bcm47081-asus-rt-n18u.dts (download)

Revision 1.1.1.6 (vendor branch), Fri Jan 3 14:33:14 2020 UTC (4 years, 3 months ago) by skrll
Branch: MAIN, LINUX
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, linux-5-5-rc4, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.1.1.5: +1 -3 lines

Import dts from Linux 5.5-rc4

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Broadcom BCM470X / BCM5301X ARM platform code.
 * DTS for Asus RT-N18U
 *
 * Copyright (C) 2014 Rafa Miecki <zajec5@gmail.com>
 */

/dts-v1/;

#include "bcm47081.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"

/ {
	compatible = "asus,rt-n18u", "brcm,bcm47081", "brcm,bcm4708";
	model = "Asus RT-N18U (BCM47081)";

	chosen {
		bootargs = "console=ttyS0,115200";
	};

	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000
		       0x88000000 0x08000000>;
	};

	leds {
		compatible = "gpio-leds";

		power {
			label = "bcm53xx:blue:power";
			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "default-on";
		};

		usb2 {
			label = "bcm53xx:blue:usb2";
			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
		};

		wan {
			label = "bcm53xx:blue:wan";
			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "default-on";
		};

		lan {
			label = "bcm53xx:blue:lan";
			gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "default-on";
		};

		usb3 {
			label = "bcm53xx:blue:usb3";
			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
		};
	};

	gpio-keys {
		compatible = "gpio-keys";

		restart {
			label = "Reset";
			linux,code = <KEY_RESTART>;
			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
		};

		wps {
			label = "WPS";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
		};
	};
};

&usb3_phy {
	status = "okay";
};