Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e27a09ae authored by Dan Haab's avatar Dan Haab Committed by Hauke Mehrtens
Browse files

ARM: BCM5301X: Add DT for Luxul XWC-1000



Luxul XWC-1000 is a controller device based on BCM4708 SoC. The only
unusual thing in its DTS file is "ubi" partition on NAND flash.

Signed-off-by: default avatarDan Haab <dhaab@luxul.com>
Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent 97bf6af1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b-plus.dtb
dtb-$(CONFIG_ARCH_BCM_5301X) += \
	bcm4708-buffalo-wzr-1750dhp.dtb \
	bcm4708-luxul-xwc-1000.dtb \
	bcm4708-netgear-r6250.dtb \
	bcm4708-netgear-r6300-v2.dtb \
	bcm47081-asus-rt-n18u.dtb \
+60 −0
Original line number Diff line number Diff line
/*
 * Broadcom BCM470X / BCM5301X ARM platform code.
 * DTS for Luxul XWC-1000
 *
 * Copyright 2014 Luxul Inc.
 *
 * Licensed under the GNU/GPL. See COPYING for details.
 */

/dts-v1/;

#include "bcm4708.dtsi"

/ {
	compatible = "luxul,xwc-1000", "brcm,bcm4708";
	model = "Luxul XWC-1000 (BCM4708)";

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

	memory {
		reg = <0x00000000 0x08000000>;
	};

	axi@18000000 {
		nand@28000 {
			reg = <0x00028000 0x1000>;
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "ubi";
				reg = <0x00000000 0x08000000>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";

		status {
			label = "bcm53xx:green:status";
			gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "timer";
		};
	};

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

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