1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SoM1 board
5 * Copyright (c) 2017, Microchip Technology Inc.
6 * 2017 Cristian Birsan <cristian.birsan@microchip.com>
7 * 2017 Claudiu Beznea <claudiu.beznea@microchip.com>
9 #include "sama5d2.dtsi"
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/gpio/gpio.h>
14 model = "Atmel SAMA5D27 SoM1";
15 compatible = "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
23 clock-frequency = <32768>;
27 clock-frequency = <24000000>;
32 sdmmc0: sdio-host@a0000000 {
33 microchip,sdcal-inverted;
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_qspi1_default>;
44 compatible = "jedec,spi-nor";
46 spi-max-frequency = <80000000>;
47 spi-tx-bus-width = <4>;
48 spi-rx-bus-width = <4>;
52 label = "at91bootstrap";
53 reg = <0x00000000 0x00040000>;
58 reg = <0x00040000 0x000c0000>;
61 bootloaderenvred@100000 {
62 label = "bootloader env redundant";
63 reg = <0x00100000 0x00040000>;
66 bootloaderenv@140000 {
67 label = "bootloader env";
68 reg = <0x00140000 0x00040000>;
72 label = "device tree";
73 reg = <0x00180000 0x00080000>;
78 reg = <0x00200000 0x00600000>;
83 macb0: ethernet@f8008000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_macb0_default>;
92 interrupt-parent = <&pioA>;
93 interrupts = <PIN_PD31 IRQ_TYPE_LEVEL_LOW>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_macb0_phy_irq>;
101 pinctrl-names = "default", "gpio";
102 pinctrl-0 = <&pinctrl_i2c0_default>;
103 pinctrl-1 = <&pinctrl_i2c0_gpio>;
104 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
105 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
109 compatible = "atmel,24c02";
116 pinctrl_i2c0_default: i2c0_default {
117 pinmux = <PIN_PD21__TWD0>,
122 pinctrl_i2c0_gpio: i2c0_gpio {
123 pinmux = <PIN_PD21__GPIO>,
128 pinctrl_qspi1_default: qspi1_default {
130 pinmux = <PIN_PB5__QSPI1_SCK>,
136 pinmux = <PIN_PB7__QSPI1_IO0>,
137 <PIN_PB8__QSPI1_IO1>,
138 <PIN_PB9__QSPI1_IO2>,
139 <PIN_PB10__QSPI1_IO3>;
144 pinctrl_macb0_default: macb0_default {
145 pinmux = <PIN_PD9__GTXCK>,
158 pinctrl_macb0_phy_irq: macb0_phy_irq {
159 pinmux = <PIN_PD31__GPIO>;