1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree file for Exegin Q5xR5 board
5 * Copyright (C) 2014 Owen Kirby <osk@exegin.com>
9 #include "at91sam9g20.dtsi"
12 model = "Exegin Q5x (rev5)";
13 compatible = "exegin,q5xr5", "atmel,at91sam9g20", "atmel,at91sam9";
16 bootargs = "console=ttyS0,115200 rootfstype=squashfs,jffs2";
20 reg = <0x20000000 0x0>;
29 compatible = "atmel,osc", "fixed-clock";
30 clock-frequency = <18432000>;
34 clock-frequency = <32768>;
38 clock-frequency = <18432000>;
51 compatible = "cfi-flash";
54 reg = <0x0 0x1000000 0x800000>;
58 compatible = "fixed-partitions";
69 reg = <0x200000 0x600000>;
82 pinctrl_pck0_as_mck: pck0_as_mck {
83 atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
88 pinctrl_spi0: spi0-0 {
90 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE
91 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE
92 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
95 pinctrl_spi0_npcs0: spi0_npcs0 {
96 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
99 pinctrl_spi0_npcs1: spi0_npcs1 {
100 atmel,pins = <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
105 pinctrl_spi1: spi1-0 {
107 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE
108 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE
109 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
112 pinctrl_spi1_npcs0: spi1_npcs0 {
113 atmel,pins = <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
116 pinctrl_spi1_npcs1: spi1_npcs1 {
117 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_spi0 &pinctrl_spi0_npcs0 &pinctrl_spi0_npcs1>;
125 cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>, <&pioC 11 GPIO_ACTIVE_LOW>, <0>, <0>;
129 compatible = "jedec,spi-nor";
130 spi-max-frequency = <20000000>;
132 #address-cells = <1>;
142 reg = <0x4000 0x4000>;
147 reg = <0x8000 0x3E000>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_spi1 &pinctrl_spi1_npcs0 &pinctrl_spi1_npcs1>;
155 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>, <&pioC 5 GPIO_ACTIVE_LOW>, <0>, <0>;
164 &pinctrl_usart0_dtr_dsr