2020-03-10 09:56:03 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* sama7g5.dtsi - Device Tree Include file for SAMA7G5 SoC.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries
|
|
|
|
*
|
|
|
|
* Author: Eugen Hristev <eugen.hristev@microchip.com>
|
|
|
|
* Author: Claudiu Beznea <claudiu.beznea@microchip.com>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "skeleton.dtsi"
|
2020-06-02 12:26:12 +00:00
|
|
|
#include <dt-bindings/clk/at91.h>
|
2020-03-10 09:56:03 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Microchip SAMA7G5 family SoC";
|
|
|
|
compatible = "microchip,sama7g5";
|
|
|
|
|
|
|
|
clocks {
|
2020-06-02 12:22:21 +00:00
|
|
|
slow_rc_osc: slow_rc_osc {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_rc: main_rc {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <12000000>;
|
|
|
|
};
|
|
|
|
|
2020-03-10 09:56:03 +00:00
|
|
|
slow_xtal: slow_xtal {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_xtal: main_xtal {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-02 12:35:55 +00:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
A7_0: cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a7";
|
|
|
|
clocks = <&pmc PMC_TYPE_CORE 8>, <&pmc PMC_TYPE_CORE 22>, <&main_xtal>;
|
|
|
|
clock-names = "cpu", "master", "xtal";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-03-10 09:56:03 +00:00
|
|
|
ahb {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
apb {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2020-06-02 12:24:25 +00:00
|
|
|
pmc: pmc@e0018000 {
|
|
|
|
compatible = "microchip,sama7g5-pmc";
|
|
|
|
reg = <0xe0018000 0x200>;
|
|
|
|
#clock-cells = <2>;
|
|
|
|
clocks = <&clk32 1>, <&clk32 0>, <&main_xtal>, <&main_rc>;
|
|
|
|
clock-names = "td_slck", "md_slck", "main_xtal", "main_rc";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-06-02 12:23:49 +00:00
|
|
|
clk32: sckc@e001d050 {
|
|
|
|
compatible = "microchip,sam9x60-sckc";
|
|
|
|
reg = <0xe001d050 0x4>;
|
|
|
|
clocks = <&slow_rc_osc>, <&slow_xtal>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2020-03-10 09:56:03 +00:00
|
|
|
sdmmc1: sdio-host@e1208000 {
|
|
|
|
compatible = "microchip,sama7g5-sdhci";
|
|
|
|
reg = <0xe1208000 0x300>;
|
2020-06-02 12:26:12 +00:00
|
|
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 81>, <&pmc PMC_TYPE_GCK 81>;
|
|
|
|
clock-names = "hclock", "multclk";
|
2020-03-10 09:56:03 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-06-02 15:42:18 +00:00
|
|
|
pit64b0: timer@e1800000 {
|
|
|
|
compatible = "microchip,sama7g5-pit64b";
|
|
|
|
reg = <0xe1800000 0x4000>;
|
|
|
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 70>, <&pmc PMC_TYPE_GCK 70>;
|
|
|
|
clock-names = "pclk", "gclk";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-03-10 09:56:03 +00:00
|
|
|
uart0: serial@e1824200 {
|
|
|
|
compatible = "atmel,at91sam9260-usart";
|
|
|
|
reg = <0xe1824200 0x200>;
|
2020-06-02 12:26:12 +00:00
|
|
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
|
2020-03-10 09:56:03 +00:00
|
|
|
clock-names = "usart";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|