Loading...
1/*
2 * sama5d35ek.dts - Device Tree file for SAMA5D35-EK board
3 *
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9/dts-v1/;
10#include "sama5d35.dtsi"
11#include "sama5d3xmb.dtsi"
12#include "sama5d3xmb_emac.dtsi"
13#include "sama5d3xmb_gmac.dtsi"
14
15/ {
16 model = "Atmel SAMA5D35-EK";
17 compatible = "atmel,sama5d35ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d35", "atmel,sama5d3", "atmel,sama5";
18
19 ahb {
20 apb {
21 spi0: spi@f0004000 {
22 status = "okay";
23 };
24
25 can0: can@f000c000 {
26 status = "okay";
27 };
28
29 i2c1: i2c@f0018000 {
30 status = "okay";
31 };
32
33 macb0: ethernet@f0028000 {
34 status = "okay";
35 };
36
37 isi: isi@f0034000 {
38 status = "okay";
39 };
40
41 macb1: ethernet@f802c000 {
42 status = "okay";
43 };
44 };
45 };
46
47 gpio_keys {
48 compatible = "gpio-keys";
49
50 pb_user1 {
51 label = "pb_user1";
52 gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
53 linux,code = <0x100>;
54 wakeup-source;
55 };
56 };
57};
1/*
2 * sama5d35ek.dts - Device Tree file for SAMA5D35-EK board
3 *
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9/dts-v1/;
10#include "sama5d35.dtsi"
11#include "sama5d3xmb.dtsi"
12
13/ {
14 model = "Atmel SAMA5D35-EK";
15 compatible = "atmel,sama5d35ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d35", "atmel,sama5d3", "atmel,sama5";
16
17 ahb {
18 apb {
19 spi0: spi@f0004000 {
20 status = "okay";
21 };
22
23 can0: can@f000c000 {
24 status = "okay";
25 };
26
27 i2c1: i2c@f0018000 {
28 status = "okay";
29 };
30
31 macb0: ethernet@f0028000 {
32 status = "okay";
33 };
34
35 isi: isi@f0034000 {
36 status = "okay";
37 };
38
39 macb1: ethernet@f802c000 {
40 status = "okay";
41 };
42 };
43 };
44
45 gpio_keys {
46 compatible = "gpio-keys";
47 #address-cells = <1>;
48 #size-cells = <0>;
49
50 pb_user1 {
51 label = "pb_user1";
52 gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
53 linux,code = <0x100>;
54 gpio-key,wakeup;
55 };
56 };
57};