1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sam9x60.dtsi - Device Tree Include file for SAM9X60 SoC.
5 * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries
7 * Author: Sandeep Sheriker M <sandeepsheriker.mallikarjun@microchip.com>
10 #include "skeleton.dtsi"
11 #include <dt-bindings/dma/at91.h>
12 #include <dt-bindings/pinctrl/at91.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/clock/at91.h>
18 model = "Microchip SAM9X60 SoC";
19 compatible = "microchip,sam9x60";
29 slow_xtal: slow_xtal {
30 compatible = "fixed-clock";
32 clock-frequency = <0>;
35 main_xtal: main_xtal {
36 compatible = "fixed-clock";
38 clock-frequency = <0>;
43 compatible = "simple-bus";
48 sdhci0: sdhci-host@80000000 {
49 compatible = "microchip,sam9x60-sdhci";
50 reg = <0x80000000 0x300>;
51 clocks = <&sdhci0_clk>, <&sdhci0_gclk>, <&main>;
52 clock-names = "hclock", "multclk", "baseclk";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_sdhci0>;
59 compatible = "simple-bus";
65 compatible = "microchip,sam9x60-qspi";
66 reg = <0xf0014000 0x100>, <0x70000000 0x10000000>;
67 reg-names = "qspi_base", "qspi_mmap";
68 clocks = <&qspi_clk>, <&qspick>;
69 clock-names = "pclk", "qspick";
75 macb0: ethernet@f802c000 {
76 compatible = "cdns,sam9x60-macb", "cdns,macb";
77 reg = <0xf802c000 0x100>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_macb0_rmii>;
80 clock-names = "hclk", "pclk";
81 clocks = <&macb0_clk>, <&macb0_clk>;
85 dbgu: serial@fffff200 {
86 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
87 reg = <0xfffff200 0x200>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_dbgu>;
91 clock-names = "usart";
97 compatible = "microchip,sam9x60-pinctrl", "simple-bus";
98 ranges = <0xfffff400 0xfffff400 0x800>;
99 reg = <0xfffff400 0x200 /* pioA */
100 0xfffff600 0x200 /* pioB */
101 0xfffff800 0x200 /* pioC */
102 0xfffffa00 0x200>; /* pioD */
104 /* shared pinctrl settings */
106 pinctrl_dbgu: dbgu-0 {
108 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
109 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
114 pinctrl_macb0_rmii: macb0_rmii-0 {
116 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
117 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
118 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
119 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
120 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
121 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
122 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
123 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
124 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
125 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
130 pinctrl_sdhci0: sdhci0 {
132 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_DRIVE_STRENGTH_DEFAULT /* PA17 CK periph A with pullup */
133 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 CMD periph A with pullup */
134 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA15 DAT0 periph A */
135 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 DAT1 periph A with pullup */
136 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 DAT2 periph A with pullup */
137 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 DAT3 periph A with pullup */
142 pioA: gpio@fffff400 {
143 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
144 reg = <0xfffff400 0x200>;
147 clocks = <&pioA_clk>;
150 pioB: gpio@fffff600 {
151 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
152 reg = <0xfffff600 0x200>;
155 clocks = <&pioB_clk>;
159 compatible = "atmel,at91sam9x5-pmc";
160 reg = <0xfffffc00 0x200>;
161 #address-cells = <1>;
165 compatible = "atmel,at91sam9x5-clk-main";
170 compatible = "microchip,sam9x60-clk-pll";
174 atmel,clk-input-range = <8000000 24000000>;
175 #atmel,pll-clk-output-range-cells = <4>;
176 atmel,pll-clk-output-ranges = <140000000 1200000000 0 0>;
180 compatible = "atmel,at91sam9x5-clk-master";
182 clocks = <&md_slck>, <&main>, <&plla>;
183 atmel,clk-output-range = <140000000 200000000>;
184 atmel,clk-divisors = <1 2 4 6>;
188 compatible = "atmel,at91rm9200-clk-system";
189 #address-cells = <1>;
200 compatible = "microchip,sam9x60-clk-peripheral";
201 #address-cells = <1>;
215 sdhci0_clk: sdhci0_clk {
225 macb0_clk: macb0_clk {
237 compatible = "microchip,sam9x60-clk-generated";
238 #address-cells = <1>;
240 clocks = <&md_slck>, <&td_slck>, <&main>, <&mck>, <&plla>;
242 sdhci0_gclk: sdhci0_gclk {
249 pit: timer@fffffe40 {
250 compatible = "atmel,at91sam9260-pit";
251 reg = <0xfffffe40 0x10>;
255 slowckc: sckc@fffffe50 {
256 compatible = "atmel,at91sam9x5-sckc";
257 reg = <0xfffffe50 0x4>;
260 compatible = "atmel,at91sam9x5-clk-slow-osc";
262 clocks = <&slow_xtal>;
265 slow_rc_osc: slow_rc_osc {
266 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
268 clock-frequency = <32768>;
272 compatible = "atmel,at91sam9x5-clk-slow";
274 clocks = <&slow_rc_osc>, <&slow_osc>;
278 compatible = "atmel,at91sam9x5-clk-slow";
280 clocks = <&slow_rc_osc>;