OpenWrt – Blame information for rev 3

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  
3 office 51 spidev@0 {
52 compatible = "spidev";
53 reg = <0>;
54 spi-max-frequency = <8000000>;
55 };
1 office 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 };
3 office 74  
1 office 75 };
76  
3 office 77 gpio_keys {
1 office 78 compatible = "gpio-keys";
79 #address-cells = <1>;
80 #size-cells = <0>;
81 btn0@pa10 {
82 label = "BTNESC";
83 linux,code = <1>; /* ESC button */
84 gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
85 gpio-key,wakeup = <1>;
86 };
87  
88 irqbtn@pe31 {
89 label = "IRQBTN";
90 linux,code = <99>; /* SysReq button */
91 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
92 gpio-key,wakeup = <1>;
93 };
94 };
95  
3 office 96 leds {
97 compatible = "gpio-leds";
1 office 98  
3 office 99 led0 {
100 label = "wb50n:blue:led0";
101 gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
102 default-state = "off";
103 };
1 office 104  
3 office 105 led1 {
106 label = "wb50n:green:led1";
107 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
108 default-state = "off";
109 };
1 office 110  
3 office 111 led2 {
112 label = "wb50n:red:led2";
113 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
114 default-state = "off";
115 };
116 };
1 office 117 };