Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi into next
[platform/kernel/u-boot.git] / arch / arm / dts / ca-presidio-engboard.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2020, Cortina Access Inc.
4  */
5
6 /dts-v1/;
7
8 / {
9    #address-cells = <2>;
10    #size-cells = <1>;
11
12         mmc0: mmc@f4400000 {
13                 compatible = "cortina,ca-mmc";
14                 reg = <0x0 0xf4400000 0x1000>;
15                 bus-width = <4>;
16                 sd_dll_ctrl = <0xf43200e8>;
17                 io_drv_ctrl = <0xf432004c>;
18         };
19
20         gpio0: gpio-controller@0xf4329280  {
21                 compatible = "cortina,ca-gpio";
22                 reg = <0x0 0xf4329280 0x24>;
23                 gpio-controller;
24                 #gpio-cells = <2>;
25                 status = "okay";
26         };
27         gpio1: gpio-controller@0xf43292a4  {
28                 compatible = "cortina,ca-gpio";
29                 reg = <0x0 0xf43292a4 0x24>;
30                 gpio-controller;
31                 #gpio-cells = <2>;
32                 status = "disabled";
33         };
34
35         watchdog: watchdog@0xf432901c {
36                 compatible = "cortina,ca-wdt";
37                 reg = <0x0 0xf432901c 0x34>,
38                       <0x0 0xf4320020 0x04>;
39                 status = "okay";
40         };
41
42         uart0: serial@0xf4329148  {
43                 u-boot,dm-pre-reloc;
44                 compatible = "cortina,ca-uart";
45                 reg = <0x0 0xf4329148 0x30>;
46                 status = "okay";
47         };
48
49         i2c: i2c@f4329120 {
50                 compatible = "cortina,ca-i2c";
51                 reg = <0x0 0xf4329120 0x28>;
52                 clock-frequency = <400000>;
53         };
54
55         sflash: sflash-controller@f4324000 {
56                 #address-cells = <2>;
57                 #size-cells = <1>;
58                 compatible = "cortina,ca-sflash";
59                 reg = <0x0 0xf4324000 0x50>;
60                 reg-names = "sflash-regs";
61                 flash@0 {
62                         compatible = "jedec,spi-nor";
63                         spi-rx-bus-width = <1>;
64                         spi-max-frequency = <108000000>;
65                 };
66         };
67 };