Aleksandar Gerasimovski | 3b24bbd | 2021-06-08 14:16:28 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Hitachi ABB Power Grids EXPU1 board device tree source |
| 4 | * |
| 5 | * Copyright 2020 Hitachi ABB Power Grids |
| 6 | * |
| 7 | * Copyright 2013-2015 Freescale Semiconductor, Inc. |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | #include "ls1021a.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "EXPU1 Service Unit for XMC and FOX"; |
| 15 | |
| 16 | aliases { |
| 17 | enet2-rgmii-debug-phy = &debug_phy; |
| 18 | }; |
| 19 | |
| 20 | chosen { |
| 21 | stdout-path = &uart0; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | &enet0 { |
| 26 | status = "okay"; |
| 27 | tbi-handle = <&tbi0>; |
| 28 | phy-connection-type = "sgmii"; |
| 29 | fixed-link { |
| 30 | speed = <1000>; |
| 31 | full-duplex; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | &enet1 { |
| 36 | status = "okay"; |
| 37 | tbi-handle = <&tbi1>; |
| 38 | phy-connection-type = "sgmii"; |
| 39 | fixed-link { |
| 40 | speed = <1000>; |
| 41 | full-duplex; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &enet2 { |
| 46 | phy-handle = <&debug_phy>; |
| 47 | phy-connection-type = "rgmii-id"; |
| 48 | max-speed = <100>; |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &i2c0 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
| 56 | &dspi1 { |
| 57 | bus-num = <0>; |
| 58 | status = "okay"; |
| 59 | zl30343@0 { |
| 60 | compatible = "gen,spidev", "zarlink,zl30343"; |
| 61 | reg = <0>; |
| 62 | spi-max-frequency = <8000000>; |
| 63 | }; |
| 64 | }; |
| 65 | |
| 66 | &ifc { |
| 67 | #address-cells = <2>; |
| 68 | #size-cells = <1>; |
| 69 | /* NOR Flash on board */ |
| 70 | ranges = <0x0 0x0 0x60000000 0x04000000>; |
| 71 | status = "okay"; |
| 72 | |
| 73 | nor@0,0 { |
| 74 | #address-cells = <1>; |
| 75 | #size-cells = <1>; |
| 76 | compatible = "cfi-flash"; |
| 77 | reg = <0x0 0x0 0x4000000>; |
| 78 | bank-width = <2>; |
| 79 | device-width = <1>; |
| 80 | |
| 81 | partition@0 { |
| 82 | label = "rcw"; |
| 83 | reg = <0x0 0x20000>; |
| 84 | read-only; |
| 85 | }; |
| 86 | partition@20000 { |
| 87 | label = "qe"; |
| 88 | reg = <0x20000 0x20000>; |
| 89 | }; |
Aleksandar Gerasimovski | 3b24bbd | 2021-06-08 14:16:28 +0000 | [diff] [blame] | 90 | partition@40000 { |
| 91 | label = "envred"; |
| 92 | reg = <0x40000 0x20000>; |
| 93 | }; |
| 94 | partition@60000 { |
| 95 | label = "env"; |
| 96 | reg = <0x60000 0x20000>; |
| 97 | }; |
| 98 | partition@100000 { |
| 99 | label = "u-boot"; |
| 100 | reg = <0x100000 0x100000>; |
| 101 | }; |
| 102 | partition@200000 { |
Aleksandar Gerasimovski | 3d1a8d2 | 2021-11-16 13:11:17 +0000 | [diff] [blame] | 103 | label = "redenvred"; |
| 104 | reg = <0x200000 0x20000>; |
| 105 | }; |
| 106 | partition@220000 { |
| 107 | label = "redenv"; |
| 108 | reg = <0x220000 0x20000>; |
| 109 | }; |
| 110 | partition@240000 { |
| 111 | label = "redu-boot"; |
| 112 | reg = <0x240000 0x100000>; |
| 113 | }; |
| 114 | partition@340000 { |
Aleksandar Gerasimovski | 3b24bbd | 2021-06-08 14:16:28 +0000 | [diff] [blame] | 115 | label = "ubi0"; |
Aleksandar Gerasimovski | 3d1a8d2 | 2021-11-16 13:11:17 +0000 | [diff] [blame] | 116 | reg = <0x340000 0x03C00000>; |
Aleksandar Gerasimovski | 3b24bbd | 2021-06-08 14:16:28 +0000 | [diff] [blame] | 117 | }; |
| 118 | }; |
| 119 | }; |
| 120 | |
| 121 | &mdio0 { |
| 122 | debug_phy: ethernet-phy@11 { |
| 123 | reg = <0x11>; |
| 124 | }; |
| 125 | |
| 126 | tbi0: tbi-phy@0xb { |
| 127 | reg = <0xb>; |
| 128 | device_type = "tbi-phy"; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | &mdio1 { |
| 133 | tbi1: tbi-phy@0xd { |
| 134 | reg = <0xd>; |
| 135 | device_type = "tbi-phy"; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | &uart0 { |
| 140 | status = "okay"; |
| 141 | }; |