// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * at91-sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SoM1 board * * Copyright (c) 2017, Microchip Technology Inc. * 2017 Cristian Birsan * 2017 Claudiu Beznea */ #include "sama5d2.dtsi" #include "sama5d2-pinfunc.h" #include / { model = "Atmel SAMA5D27 SoM1"; compatible = "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; aliases { i2c0 = &i2c0; }; clocks { slow_xtal { clock-frequency = <32768>; }; main_xtal { clock-frequency = <24000000>; }; }; ahb { sdmmc0: sdio-host@a0000000 { microchip,sdcal-inverted; }; apb { qspi1: spi@f0024000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_qspi1_default>; flash@0 { #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <104000000>; spi-cs-setup-ns = <7>; spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; m25p,fast-read; at91bootstrap@0 { label = "at91bootstrap"; reg = <0x00000000 0x00040000>; }; bootloader@40000 { label = "bootloader"; reg = <0x00040000 0x000c0000>; }; bootloaderenvred@100000 { label = "bootloader env redundant"; reg = <0x00100000 0x00040000>; }; bootloaderenv@140000 { label = "bootloader env"; reg = <0x00140000 0x00040000>; }; dtb@180000 { label = "device tree"; reg = <0x00180000 0x00080000>; }; kernel@200000 { label = "kernel"; reg = <0x00200000 0x00600000>; }; }; }; macb0: ethernet@f8008000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_macb0_default>; #address-cells = <1>; #size-cells = <0>; phy-mode = "rmii"; ethernet-phy@7 { reg = <0x7>; interrupt-parent = <&pioA>; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_macb0_phy_irq>; }; }; i2c0: i2c@f8028000 { dmas = <0>, <0>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c0_default>; pinctrl-1 = <&pinctrl_i2c0_gpio>; sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>; scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; eeprom@50 { compatible = "atmel,24c02"; reg = <0x50>; pagesize = <8>; }; }; pinctrl@fc038000 { pinctrl_i2c0_default: i2c0_default { pinmux = , ; bias-disable; }; pinctrl_i2c0_gpio: i2c0_gpio { pinmux = , ; bias-disable; }; pinctrl_qspi1_default: qspi1_default { sck_cs { pinmux = , ; bias-disable; }; data { pinmux = , , , ; bias-pull-up; }; }; pinctrl_macb0_default: macb0_default { pinmux = , , , , , , , , , ; bias-disable; }; pinctrl_macb0_phy_irq: macb0_phy_irq { pinmux = ; bias-disable; }; }; }; }; };