blob: bed59f3da2a41f88d624992f4e42e72a1527d201 [file] [log] [blame]
Sandeep Sheriker Mallikarjun976c2dc2019-09-27 13:08:45 +00001// 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 Ambarus6c8b9502019-09-27 13:09:19 +000019
Eugen Hristeve3b47be2019-09-30 07:28:59 +000020 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 Ambarus6c8b9502019-09-27 13:09:19 +000032 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 Hristeve3b47be2019-09-30 07:28:59 +000059 pinctrl_onewire_tm_default: onewire_tm_default {
60 atmel,pins =
61 <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
62 };
63
Tudor Ambarus6c8b9502019-09-27 13:09:19 +000064 };
65 };
66 };
Sandeep Sheriker Mallikarjun976c2dc2019-09-27 13:08:45 +000067};
Nicolas Ferred7d06bf2019-09-27 13:08:48 +000068
69&macb0 {
70 phy-mode = "rmii";
71 status = "okay";
72};