blob: 2e7ccb0ffb8abc1336ff57452e28133ac0cada6a [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 };
47 };
48 };
49 };
50
51 chosen {
52 stdout-path = &dbgu;
53 i2c0 = &flx0;
54 };
55
56 clocks {
57 slow_xtal: slow_xtal {
58 clock-frequency = <32768>;
59 };
60
61 main_xtal: main_xtal {
62 clock-frequency = <24000000>;
63 };
64 };
65
66 memory {
67 reg = <0x20000000 0x8000000>;
68 };
69};
70
71&macb0 {
72 phy-mode = "rmii";
73 status = "okay";
74};