OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /*
2 * wb50n.dts - Device Tree file for wb50n board
3 *
4 * Copyright (C) 2015 Laird
5 *
6 * Licensed under GPLv2 or later.
7 */
8 /dts-v1/;
9 #include "wb50n.dtsi"
10  
11 / {
12 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
13 compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
14  
15 chosen {
16 bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M";
17 };
18  
19 ahb {
20  
21 apb {
22 mmc0: mmc@f0000000 {
23 status = "okay";
24 };
25  
26 macb1: ethernet@f802c000 {
27 status = "okay";
28 };
29  
30 dbgu: serial@ffffee00 {
31 status = "okay";
32 };
33  
34 /* On BB40 this port is labeled UART1 */
35 usart0: serial@f001c000 {
36 status = "okay";
37 };
38  
39 /* On BB40 this port is labeled UART0 */
40 usart1: serial@f0020000 {
41 status = "okay";
42 };
43  
44 i2c0: i2c@f0014000 {
45 status = "okay";
46 };
47  
48 spi1: spi@f8008000 {
49 status = "okay";
50  
51 spidev@0 {
52 compatible = "spidev";
53 reg = <0>;
54 spi-max-frequency = <8000000>;
55 };
56 };
57  
58 watchdog@fffffe40 {
59 status = "okay";
60 };
61 };
62  
63 usb0: gadget@00500000 {
64 status = "okay";
65 };
66  
67 usb1: ohci@00600000 {
68 status = "okay";
69 };
70  
71 usb2: ehci@00700000 {
72 status = "okay";
73 };
74 };
75  
76 keys {
77 compatible = "gpio-keys";
78 #address-cells = <1>;
79 #size-cells = <0>;
80 btn0@pa10 {
81 label = "BTNESC";
82 linux,code = <1>; /* ESC button */
83 gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
84 gpio-key,wakeup = <1>;
85 };
86  
87 irqbtn@pe31 {
88 label = "IRQBTN";
89 linux,code = <99>; /* SysReq button */
90 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
91 gpio-key,wakeup = <1>;
92 };
93 };
94  
95 leds {
96 compatible = "gpio-leds";
97  
98 led0 {
99 label = "wb50n:blue:led0";
100 gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
101 };
102  
103 led1 {
104 label = "wb50n:green:led1";
105 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
106 };
107  
108 led2 {
109 label = "wb50n:red:led2";
110 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
111 };
112 };
113 };