Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 1 | // 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 Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 12 | bootph-all; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 13 | }; |
| 14 | }; |
| 15 | |
| 16 | &cpg { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 17 | bootph-all; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-all; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | &extalr_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-all; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 34 | }; |
| 35 | |
Adam Ford | 5a7affe | 2022-01-11 07:21:06 -0600 | [diff] [blame] | 36 | &pfc { |
| 37 | qspi_pins: qspi { |
| 38 | groups = "qspi_ctrl", "qspi_data4"; |
| 39 | function = "qspi"; |
| 40 | }; |
| 41 | }; |
| 42 | |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 43 | &prr { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-all; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | &rpc { |
Adam Ford | 5a7affe | 2022-01-11 07:21:06 -0600 | [diff] [blame] | 48 | pinctrl-0 = <&qspi_pins>; |
| 49 | pinctrl-names = "default"; |
Adam Ford | bad413c | 2021-12-06 10:29:28 -0600 | [diff] [blame] | 50 | 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 | }; |