blob: 84416fceaffb82237eda9fce27aaf85da0ac13ec [file] [log] [blame]
Adam Fordbad413c2021-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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070012 bootph-all;
Adam Fordbad413c2021-12-06 10:29:28 -060013 };
14};
15
16&cpg {
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-all;
Adam Fordbad413c2021-12-06 10:29:28 -060018};
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-all;
Adam Fordbad413c2021-12-06 10:29:28 -060030};
31
32&extalr_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-all;
Adam Fordbad413c2021-12-06 10:29:28 -060034};
35
Adam Ford5a7affe2022-01-11 07:21:06 -060036&pfc {
37 qspi_pins: qspi {
38 groups = "qspi_ctrl", "qspi_data4";
39 function = "qspi";
40 };
41};
42
Adam Fordbad413c2021-12-06 10:29:28 -060043&prr {
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-all;
Adam Fordbad413c2021-12-06 10:29:28 -060045};
46
47&rpc {
Adam Ford5a7affe2022-01-11 07:21:06 -060048 pinctrl-0 = <&qspi_pins>;
49 pinctrl-names = "default";
Adam Fordbad413c2021-12-06 10:29:28 -060050 num-cs = <1>;
51 spi-max-frequency = <40000000>;
52 #address-cells = <1>;
53 #size-cells = <0>;
54 status = "okay";
55
56 flash0: spi-flash@0 {
57 #address-cells = <1>;
58 #size-cells = <1>;
59 reg = <0>;
60 compatible = "spi-flash", "jedec,spi-nor";
61 spi-max-frequency = <40000000>;
62 spi-tx-bus-width = <1>;
63 spi-rx-bus-width = <1>;
64 };
65};
66
67&sdhi0 {
68 /delete-property/ cd-gpios;
69 sd-uhs-sdr12;
70 sd-uhs-sdr25;
71 sd-uhs-sdr104;
72 max-frequency = <208000000>;
73};
74
75&sdhi2 {
76 status = "disabled";
77};
78
79&sdhi3 {
80 mmc-ddr-1_8v;
81 mmc-hs200-1_8v;
82 mmc-hs400-1_8v;
83};