Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 | /* Copyright (c) 2020 Microchip Technology Inc */ |
| 3 | |
| 4 | /dts-v1/; |
| 5 | |
| 6 | #include "microchip-mpfs.dtsi" |
| 7 | |
| 8 | /* Clock frequency (in Hz) of the rtcclk */ |
| 9 | #define RTCCLK_FREQ 1000000 |
| 10 | |
| 11 | / { |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 12 | model = "Microchip PolarFire-SoC Icicle Kit"; |
Krzysztof Kozlowski | fd86dd2 | 2021-09-27 14:50:41 +0200 | [diff] [blame] | 13 | compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs"; |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 14 | |
Bin Meng | 417166d | 2021-08-04 20:30:15 +0800 | [diff] [blame] | 15 | aliases { |
| 16 | ethernet0 = &emac1; |
Geert Uytterhoeven | cbba178 | 2021-08-26 15:19:39 +0200 | [diff] [blame] | 17 | serial0 = &serial0; |
| 18 | serial1 = &serial1; |
| 19 | serial2 = &serial2; |
| 20 | serial3 = &serial3; |
Bin Meng | 417166d | 2021-08-04 20:30:15 +0800 | [diff] [blame] | 21 | }; |
| 22 | |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 23 | chosen { |
Geert Uytterhoeven | cbba178 | 2021-08-26 15:19:39 +0200 | [diff] [blame] | 24 | stdout-path = "serial0:115200n8"; |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | cpus { |
| 28 | timebase-frequency = <RTCCLK_FREQ>; |
| 29 | }; |
| 30 | |
| 31 | memory@80000000 { |
| 32 | device_type = "memory"; |
| 33 | reg = <0x0 0x80000000 0x0 0x40000000>; |
| 34 | clocks = <&clkcfg 26>; |
| 35 | }; |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | &serial0 { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &serial1 { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &serial2 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | &serial3 { |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | |
Krzysztof Kozlowski | 42a57a4 | 2021-09-27 14:50:42 +0200 | [diff] [blame] | 54 | &mmc { |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 55 | status = "okay"; |
Krzysztof Kozlowski | 42a57a4 | 2021-09-27 14:50:42 +0200 | [diff] [blame] | 56 | |
| 57 | bus-width = <4>; |
| 58 | disable-wp; |
| 59 | cap-sd-highspeed; |
| 60 | card-detect-delay = <200>; |
| 61 | sd-uhs-sdr12; |
| 62 | sd-uhs-sdr25; |
| 63 | sd-uhs-sdr50; |
| 64 | sd-uhs-sdr104; |
Atish Patra | 0fa6107 | 2021-03-03 12:02:51 -0800 | [diff] [blame] | 65 | }; |
| 66 | |
| 67 | &emac0 { |
| 68 | phy-mode = "sgmii"; |
| 69 | phy-handle = <&phy0>; |
| 70 | phy0: ethernet-phy@8 { |
| 71 | reg = <8>; |
| 72 | ti,fifo-depth = <0x01>; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &emac1 { |
| 77 | status = "okay"; |
| 78 | phy-mode = "sgmii"; |
| 79 | phy-handle = <&phy1>; |
| 80 | phy1: ethernet-phy@9 { |
| 81 | reg = <9>; |
| 82 | ti,fifo-depth = <0x01>; |
| 83 | }; |
| 84 | }; |