blob: 4d178549187e706d5c3cfe6172d5d5fb4ea581bd [file] [log] [blame]
Adam Ford61b3a012021-12-06 10:29:28 -06001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright 2021 LogicPD dba Beacon EmbeddedWorks
4 */
5
6/ {
7 aliases {
8 spi0 = &rpc;
9 };
10
11 soc {
12 u-boot,dm-pre-reloc;
13 };
14};
15
16&cpg {
17 u-boot,dm-pre-reloc;
18};
19
20&ehci0 {
21 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>;
22};
23
24&ehci1 {
25 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>;
26};
27
28&extal_clk {
29 u-boot,dm-pre-reloc;
30};
31
32&extalr_clk {
33 u-boot,dm-pre-reloc;
34};
35
Adam Ford16f4d362022-01-11 07:21:06 -060036&pfc {
37 qspi_pins: qspi {
38 groups = "qspi_ctrl", "qspi_data4";
39 function = "qspi";
40 };
41};
42
Adam Ford61b3a012021-12-06 10:29:28 -060043&prr {
44 u-boot,dm-pre-reloc;
45};
46
47&rpc {
48 compatible = "renesas,rcar-gen3-rpc";
Adam Ford16f4d362022-01-11 07:21:06 -060049 pinctrl-0 = <&qspi_pins>;
50 pinctrl-names = "default";
Adam Ford61b3a012021-12-06 10:29:28 -060051 num-cs = <1>;
52 spi-max-frequency = <40000000>;
53 #address-cells = <1>;
54 #size-cells = <0>;
55 status = "okay";
56
57 flash0: spi-flash@0 {
58 #address-cells = <1>;
59 #size-cells = <1>;
60 reg = <0>;
61 compatible = "spi-flash", "jedec,spi-nor";
62 spi-max-frequency = <40000000>;
63 spi-tx-bus-width = <1>;
64 spi-rx-bus-width = <1>;
65 };
66};
67
68&sdhi0 {
69 /delete-property/ cd-gpios;
70 sd-uhs-sdr12;
71 sd-uhs-sdr25;
72 sd-uhs-sdr104;
73 max-frequency = <208000000>;
74};
75
76&sdhi2 {
77 status = "disabled";
78};
79
80&sdhi3 {
81 mmc-ddr-1_8v;
82 mmc-hs200-1_8v;
83 mmc-hs400-1_8v;
84};