Wenyou Yang | 110fa97 | 2017-03-24 09:18:41 +0800 | [diff] [blame] | 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 | aliases { |
| 18 | spi0 = &spi0; |
| 19 | }; |
| 20 | |
| 21 | ahb { |
| 22 | apb { |
| 23 | spi0: spi@f0004000 { |
| 24 | status = "okay"; |
| 25 | }; |
| 26 | |
| 27 | can0: can@f000c000 { |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
| 31 | i2c1: i2c@f0018000 { |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | macb0: ethernet@f0028000 { |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | |
| 39 | isi: isi@f0034000 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | macb1: ethernet@f802c000 { |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | gpio_keys { |
| 50 | compatible = "gpio-keys"; |
| 51 | |
| 52 | pb_user1 { |
| 53 | label = "pb_user1"; |
| 54 | gpios = <&pioE 27 GPIO_ACTIVE_HIGH>; |
| 55 | linux,code = <0x100>; |
| 56 | wakeup-source; |
| 57 | }; |
| 58 | }; |
| 59 | }; |