Sandeep Sheriker Mallikarjun | 976c2dc | 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; |
| 18 | }; |
Tudor Ambarus | 6c8b950 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 19 | |
Eugen Hristev | e3b47be | 2019-09-30 07:28:59 +0000 | [diff] [blame] | 20 | onewire_tm: onewire { |
| 21 | gpios = <&pioD 14 0>; |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&pinctrl_onewire_tm_default>; |
| 24 | status = "okay"; |
| 25 | |
| 26 | w1_eeprom: w1_eeprom@0 { |
| 27 | compatible = "maxim,ds24b33"; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | }; |
| 31 | |
Tudor Ambarus | 6c8b950 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 32 | ahb { |
| 33 | apb { |
| 34 | qspi: spi@f0014000 { |
| 35 | pinctrl-names = "default"; |
| 36 | pinctrl-0 = <&pinctrl_qspi>; |
| 37 | status = "okay"; |
| 38 | |
| 39 | nor_flash: sst26vf064@0 { |
| 40 | compatible = "spi-flash"; |
| 41 | reg = <0>; |
| 42 | spi-max-frequency = <80000000>; |
| 43 | spi-rx-bus-width = <4>; |
| 44 | spi-tx-bus-width = <4>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | pinctrl { |
| 49 | pinctrl_qspi: qspi { |
| 50 | atmel,pins = |
| 51 | <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE |
| 52 | AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE |
| 53 | AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 54 | AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 55 | AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
| 56 | AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; |
| 57 | }; |
| 58 | |
Eugen Hristev | e3b47be | 2019-09-30 07:28:59 +0000 | [diff] [blame] | 59 | pinctrl_onewire_tm_default: onewire_tm_default { |
| 60 | atmel,pins = |
| 61 | <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; |
| 62 | }; |
| 63 | |
Tudor Ambarus | 6c8b950 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 64 | }; |
| 65 | }; |
| 66 | }; |
Sandeep Sheriker Mallikarjun | 976c2dc | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 67 | }; |
Nicolas Ferre | d7d06bf | 2019-09-27 13:08:48 +0000 | [diff] [blame] | 68 | |
| 69 | &macb0 { |
| 70 | phy-mode = "rmii"; |
| 71 | status = "okay"; |
| 72 | }; |