blob: 7c5b6ae2b87ae7d91d4381c1c6849794844e0af8 [file] [log] [blame]
Durai Manickam KR03eaa702022-04-04 11:23:19 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * at91-sam9x60_curiosity.dts - Device Tree file for SAM9X60 CURIOSITY board
4 *
5 * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
6 *
7 * Author: Durai Manickam KR <durai.manickamkr@microchip.com>
8 */
9/dts-v1/;
10#include <dt-bindings/mfd/atmel-flexcom.h>
11#include "sam9x60.dtsi"
12
13/ {
14 model = "Microchip SAM9X60 CURIOSITY";
15 compatible = "microchip,sam9x60-curiosity", "microchip,sam9x60", "atmel,at91sam9";
16
17 ahb {
18 apb {
19 flx0: flexcom@f801c600 {
20 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
21 status = "okay";
22
23 i2c@600 {
24 compatible = "atmel,sama5d2-i2c";
25 reg = <0x600 0x200>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_flx0>;
28 #address-cells = <1>;
29 #size-cells = <0>;
30 clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
31 status = "okay";
32
33 eeprom@53 {
34 compatible = "atmel,24c32";
35 reg = <0x53>;
36 pagesize = <16>;
37 };
38 };
39 };
40
41 pinctrl {
42 pinctrl_flx0: flx0_default {
43 atmel,pins =
44 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE
45 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
46 };
Durai Manickam KR35346722022-07-07 16:40:56 +053047
48 pinctrl_onewire_tm_default: onewire_tm_default {
49 atmel,pins =
50 <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
51 };
Durai Manickam KR03eaa702022-04-04 11:23:19 +053052 };
53 };
54 };
55
56 chosen {
57 stdout-path = &dbgu;
58 i2c0 = &flx0;
59 };
60
61 clocks {
62 slow_xtal: slow_xtal {
63 clock-frequency = <32768>;
64 };
65
66 main_xtal: main_xtal {
67 clock-frequency = <24000000>;
68 };
69 };
70
71 memory {
72 reg = <0x20000000 0x8000000>;
73 };
Durai Manickam KR35346722022-07-07 16:40:56 +053074
75 onewire_tm: onewire {
76 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_onewire_tm_default>;
79 status = "okay";
80
81 w1_eeprom: w1_eeprom@0 {
82 compatible = "maxim,ds24b33";
83 status = "okay";
84 };
85 };
Durai Manickam KR03eaa702022-04-04 11:23:19 +053086};
87
88&macb0 {
89 phy-mode = "rmii";
90 status = "okay";
91};