blob: 8767de98b8ddf332c3559ded1a919c9a4d6d3912 [file] [log] [blame]
Sandeep Sheriker Mallikarjunf99e0ad2019-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;
Eugen Hristev67fd5d82019-10-09 09:23:41 +000018 i2c0 = &flx0;
Sandeep Sheriker Mallikarjunf99e0ad2019-09-27 13:08:45 +000019 };
Tudor Ambarus228f9e02019-09-27 13:09:19 +000020
Eugen Hristevc69ce802019-09-30 07:28:59 +000021 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 Ambarus228f9e02019-09-27 13:09:19 +000033 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 Hristev67fd5d82019-10-09 09:23:41 +000049 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 Ambarus228f9e02019-09-27 13:09:19 +000071 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 Hristev67fd5d82019-10-09 09:23:41 +000082 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 Hristevc69ce802019-09-30 07:28:59 +000088 pinctrl_onewire_tm_default: onewire_tm_default {
89 atmel,pins =
90 <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
91 };
92
Tudor Ambarus228f9e02019-09-27 13:09:19 +000093 };
94 };
95 };
Sandeep Sheriker Mallikarjunf99e0ad2019-09-27 13:08:45 +000096};
Nicolas Ferre88555432019-09-27 13:08:48 +000097
98&macb0 {
99 phy-mode = "rmii";
100 status = "okay";
101};