Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * sam9x60ek.dts - Device Tree file for SAM9X60 EK board |
| 4 | * |
| 5 | * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries |
| 6 | * |
| 7 | * Author: Sandeep Sheriker M <Sandeepsheriker.mallikarjun@microchip.com> |
| 8 | */ |
| 9 | /dts-v1/; |
| 10 | #include "sam9x60.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Microchip SAM9X60-Ek"; |
| 14 | compatible = "microchip,sam9x60ek", "microchip,sam9x60", "atmel,at91sam9"; |
| 15 | |
| 16 | chosen { |
| 17 | stdout-path = &dbgu; |
Eugen Hristev | 67fd5d8 | 2019-10-09 09:23:41 +0000 | [diff] [blame] | 18 | i2c0 = &flx0; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 19 | }; |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 20 | |
Eugen Hristev | c69ce80 | 2019-09-30 07:28:59 +0000 | [diff] [blame] | 21 | onewire_tm: onewire { |
| 22 | gpios = <&pioD 14 0>; |
| 23 | pinctrl-names = "default"; |
| 24 | pinctrl-0 = <&pinctrl_onewire_tm_default>; |
| 25 | status = "okay"; |
| 26 | |
| 27 | w1_eeprom: w1_eeprom@0 { |
| 28 | compatible = "maxim,ds24b33"; |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | }; |
| 32 | |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 33 | ahb { |
| 34 | apb { |
| 35 | qspi: spi@f0014000 { |
| 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&pinctrl_qspi>; |
| 38 | status = "okay"; |
| 39 | |
| 40 | nor_flash: sst26vf064@0 { |
| 41 | compatible = "spi-flash"; |
| 42 | reg = <0>; |
| 43 | spi-max-frequency = <80000000>; |
| 44 | spi-rx-bus-width = <4>; |
| 45 | spi-tx-bus-width = <4>; |
| 46 | }; |
| 47 | }; |
| 48 | |
Eugen Hristev | 67fd5d8 | 2019-10-09 09:23:41 +0000 | [diff] [blame] | 49 | flx0: flexcom@f801c600 { |
| 50 | atmel,flexcom-mode = <3>; |
| 51 | status = "okay"; |
| 52 | |
| 53 | i2c@600 { |
| 54 | compatible = "atmel,sama5d2-i2c"; |
| 55 | reg = <0x600 0x200>; |
| 56 | pinctrl-names = "default"; |
| 57 | pinctrl-0 = <&pinctrl_flx0>; |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <0>; |
| 60 | clocks = <&flx0_clk>; |
| 61 | status = "okay"; |
| 62 | |
| 63 | eeprom@53 { |
| 64 | compatible = "atmel,24c32"; |
| 65 | reg = <0x53>; |
| 66 | pagesize = <16>; |
| 67 | }; |
| 68 | }; |
| 69 | }; |
| 70 | |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 71 | pinctrl { |
| 72 | pinctrl_qspi: qspi { |
| 73 | atmel,pins = |
| 74 | <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE |
| 75 | AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE |
| 76 | AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 77 | AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 78 | AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 79 | AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; |
| 80 | }; |
| 81 | |
Eugen Hristev | 67fd5d8 | 2019-10-09 09:23:41 +0000 | [diff] [blame] | 82 | pinctrl_flx0: flx0_default { |
| 83 | atmel,pins = |
| 84 | <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE |
| 85 | AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 86 | }; |
| 87 | |
Eugen Hristev | c69ce80 | 2019-09-30 07:28:59 +0000 | [diff] [blame] | 88 | pinctrl_onewire_tm_default: onewire_tm_default { |
| 89 | atmel,pins = |
| 90 | <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; |
| 91 | }; |
| 92 | |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 93 | }; |
| 94 | }; |
| 95 | }; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 96 | }; |
Nicolas Ferre | 8855543 | 2019-09-27 13:08:48 +0000 | [diff] [blame] | 97 | |
| 98 | &macb0 { |
| 99 | phy-mode = "rmii"; |
| 100 | status = "okay"; |
| 101 | }; |