summaryrefslogtreecommitdiff
path: root/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
diff options
context:
space:
mode:
authorBen Whitten <ben.whitten@gmail.com>2017-06-28 11:28:12 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-10-15 00:24:21 +0200
commitf81b353c9f33f5afa32eebe0ee1dc290e927e5ee (patch)
tree2f56e87b245a77d7334b74a25c371796eadfdecc /target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
parent86d037e4a27fcf8f465fb1e79db727995ad5c684 (diff)
downloadmtk-20170518-f81b353c9f33f5afa32eebe0ee1dc290e927e5ee.zip
mtk-20170518-f81b353c9f33f5afa32eebe0ee1dc290e927e5ee.tar.gz
mtk-20170518-f81b353c9f33f5afa32eebe0ee1dc290e927e5ee.tar.bz2
at91: add support for the WB50N module from Laird
This module from Laird includes the following: - CPU Atmel SoC SAMA5D31 - Wifi QCA6004 - Bluetooth CSR8811 - RAM 64MB LPDDR - FLASH 128MB The flash is a dual image layout, kernel a/b, rootfs a/b, and a user partition. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Diffstat (limited to 'target/linux/at91/files/arch/arm/boot/dts/wb50n.dts')
-rw-r--r--target/linux/at91/files/arch/arm/boot/dts/wb50n.dts117
1 files changed, 117 insertions, 0 deletions
diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
new file mode 100644
index 0000000..9c28a21
--- /dev/null
+++ b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
@@ -0,0 +1,117 @@
+/*
+ * wb50n.dts - Device Tree file for wb50n board
+ *
+ * Copyright (C) 2015 Laird
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "wb50n.dtsi"
+
+/ {
+ model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
+ compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
+
+ chosen {
+ bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M";
+ };
+
+ ahb {
+
+ apb {
+ mmc0: mmc@f0000000 {
+ status = "okay";
+ };
+
+ macb1: ethernet@f802c000 {
+ status = "okay";
+ };
+
+ dbgu: serial@ffffee00 {
+ status = "okay";
+ };
+
+ /* On BB40 this port is labeled UART1 */
+ usart0: serial@f001c000 {
+ status = "okay";
+ };
+
+ /* On BB40 this port is labeled UART0 */
+ usart1: serial@f0020000 {
+ status = "okay";
+ };
+
+ i2c0: i2c@f0014000 {
+ status = "okay";
+ };
+
+ spi1: spi@f8008000 {
+ status = "okay";
+
+ spidev@0 {
+ compatible = "spidev";
+ reg = <0>;
+ spi-max-frequency = <8000000>;
+ };
+ };
+
+ watchdog@fffffe40 {
+ status = "okay";
+ };
+ };
+
+ usb0: gadget@00500000 {
+ status = "okay";
+ };
+
+ usb1: ohci@00600000 {
+ status = "okay";
+ };
+
+ usb2: ehci@00700000 {
+ status = "okay";
+ };
+
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ btn0@pa10 {
+ label = "BTNESC";
+ linux,code = <1>; /* ESC button */
+ gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
+ gpio-key,wakeup = <1>;
+ };
+
+ irqbtn@pe31 {
+ label = "IRQBTN";
+ linux,code = <99>; /* SysReq button */
+ gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
+ gpio-key,wakeup = <1>;
+ };
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ label = "wb50n:blue:led0";
+ gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led1 {
+ label = "wb50n:green:led1";
+ gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led2 {
+ label = "wb50n:red:led2";
+ gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+ };
+};