Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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 | #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 | }; |