Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2016 Marvell International Ltd. |
| 4 | * Copyright (C) 2020 Sartura Ltd. |
| 5 | */ |
| 6 | |
| 7 | #include "armada-8040.dtsi" /* include SoC device tree */ |
| 8 | |
| 9 | / { |
| 10 | model = "iEi-Puzzle-M801"; |
| 11 | compatible = "marvell,armada8040-puzzle-m801", |
| 12 | "marvell,armada8040"; |
| 13 | |
| 14 | chosen { |
| 15 | stdout-path = "serial0:115200n8"; |
| 16 | }; |
| 17 | |
| 18 | aliases { |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 19 | i2c0 = &ap_i2c0; |
| 20 | i2c1 = &cp0_i2c0; |
| 21 | i2c2 = &cp0_i2c1; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 22 | i2c3 = &i2c_switch; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 23 | spi0 = &ap_spi0; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 24 | gpio0 = &ap_gpio0; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 25 | gpio1 = &cp0_gpio0; |
| 26 | gpio2 = &cp0_gpio1; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 27 | gpio3 = &sfpplus_gpio; |
| 28 | }; |
| 29 | |
| 30 | memory@00000000 { |
| 31 | device_type = "memory"; |
| 32 | reg = <0x0 0x0 0x0 0x80000000>; |
| 33 | }; |
| 34 | |
| 35 | simple-bus { |
| 36 | compatible = "simple-bus"; |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | reg_usb3h0_vbus: usb3-vbus0 { |
| 41 | compatible = "regulator-fixed"; |
| 42 | pinctrl-names = "default"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 43 | pinctrl-0 = <&cp0_xhci_vbus_pins>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 44 | regulator-name = "reg-usb3h0-vbus"; |
| 45 | regulator-min-microvolt = <5000000>; |
| 46 | regulator-max-microvolt = <5000000>; |
| 47 | startup-delay-us = <500000>; |
| 48 | enable-active-high; |
| 49 | regulator-always-on; |
| 50 | regulator-boot-on; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 51 | gpio = <&cp0_gpio1 15 GPIO_ACTIVE_HIGH>; /* GPIO[47] */ |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 56 | &ap_i2c0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 57 | status = "okay"; |
| 58 | clock-frequency = <100000>; |
| 59 | |
| 60 | rtc@32 { |
| 61 | compatible = "epson,rx8010"; |
| 62 | reg = <0x32>; |
| 63 | }; |
| 64 | }; |
| 65 | |
| 66 | &uart0 { |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | &ap_pinctl { |
| 71 | /* |
| 72 | * MPP Bus: |
| 73 | * AP SPI0 [0-3] |
| 74 | * AP I2C [4-5] |
| 75 | * AP GPIO [6] |
| 76 | * AP UART 1 RX/TX [7-8] |
| 77 | * AP GPIO [9-10] |
| 78 | * AP GPIO [12] |
| 79 | * UART0 [11,19] |
| 80 | */ |
| 81 | /* 0 1 2 3 4 5 6 7 8 9 */ |
| 82 | pin-func = < 3 3 3 3 3 3 3 3 3 0 |
| 83 | 0 3 0 0 0 0 0 0 0 3 >; |
| 84 | }; |
| 85 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 86 | &cp0_pinctl { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 87 | /* |
| 88 | * MPP Bus: |
| 89 | * [0-31] = 0xff: Keep default CP0_shared_pins: |
| 90 | * [11] CLKOUT_MPP_11 (out) |
| 91 | * [23] LINK_RD_IN_CP2CP (in) |
| 92 | * [25] CLKOUT_MPP_25 (out) |
| 93 | * [29] AVS_FB_IN_CP2CP (in) |
| 94 | * [32,34] SMI |
| 95 | * [33] MSS power down |
| 96 | * [35-38] CP0 I2C1 and I2C0 |
| 97 | * [39] MSS CKE Enable |
| 98 | * [40,41] CP0 UART1 TX/RX |
| 99 | * [42,43] XSMI (controls two 10G phys) |
| 100 | * [47] USB VBUS EN |
| 101 | * [48] FAN PWM |
| 102 | * [49] 10G port 1 interrupt |
| 103 | * [50] 10G port 0 interrupt |
| 104 | * [51] 2.5G SFP TX fault |
| 105 | * [52] PCIe reset out |
| 106 | * [53] 2.5G SFP mode |
| 107 | * [54] 2.5G SFP LOS |
| 108 | * [55] Micro SD card detect |
| 109 | * [56-61] Micro SD |
| 110 | * [62] CP1 SFI SFP FAULT |
| 111 | */ |
| 112 | /* 0 1 2 3 4 5 6 7 8 9 */ |
| 113 | pin-func = < 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 114 | 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 115 | 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 116 | 0xff 0 7 0xa 7 2 2 2 2 0xa |
| 117 | 7 7 8 8 0 0 0 0 0 0 |
| 118 | 0 0 0 0 0 0 0xe 0xe 0xe 0xe |
| 119 | 0xe 0xe 0 >; |
| 120 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 121 | cp0_xhci_vbus_pins: cpm-xhci-vbus-pins { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 122 | marvell,pins = < 47 >; |
| 123 | marvell,function = <0>; |
| 124 | }; |
| 125 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 126 | cp0_pcie_reset_pins: cpm-pcie-reset-pins { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 127 | marvell,pins = < 52 >; |
| 128 | marvell,function = <0>; |
| 129 | }; |
| 130 | }; |
| 131 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 132 | &cp0_sdhci0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 133 | pinctrl-names = "default"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 134 | pinctrl-0 = <&cp0_sdhci_pins>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 135 | bus-width= <4>; |
| 136 | status = "okay"; |
| 137 | }; |
| 138 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 139 | &cp0_pcie0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 140 | num-lanes = <1>; |
| 141 | pinctrl-names = "default"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 142 | pinctrl-0 = <&cp0_pcie_reset_pins>; |
| 143 | marvell,reset-gpio = <&cp0_gpio1 20 GPIO_ACTIVE_LOW>; /* GPIO[52] */ |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 144 | status = "okay"; |
| 145 | }; |
| 146 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 147 | &cp0_i2c0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 148 | pinctrl-names = "default"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 149 | pinctrl-0 = <&cp0_i2c0_pins>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 150 | status = "okay"; |
| 151 | clock-frequency = <100000>; |
| 152 | |
| 153 | sfpplus_gpio: gpio@21 { |
| 154 | compatible = "nxp,pca9555"; |
| 155 | reg = <0x21>; |
| 156 | gpio-controller; |
| 157 | #gpio-cells = <2>; |
| 158 | }; |
| 159 | }; |
| 160 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 161 | &cp0_i2c1 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 162 | pinctrl-names = "default"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 163 | pinctrl-0 = <&cp0_i2c1_pins>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 164 | status = "okay"; |
| 165 | clock-frequency = <100000>; |
| 166 | |
| 167 | i2c_switch: i2c-switch@70 { |
| 168 | compatible = "nxp,pca9544"; |
| 169 | #address-cells = <1>; |
| 170 | #size-cells = <0>; |
| 171 | reg = <0x70>; |
| 172 | }; |
| 173 | }; |
| 174 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 175 | &cp0_sata0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 176 | status = "okay"; |
| 177 | }; |
| 178 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 179 | &cp0_ethernet { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 180 | pinctrl-names = "default"; |
| 181 | status = "okay"; |
| 182 | }; |
| 183 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 184 | &cp0_mdio { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 185 | status = "okay"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 186 | cp0_ge_phy0: ethernet-phy@1 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 187 | reg = <0>; |
| 188 | }; |
| 189 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 190 | cp0_ge_phy1: ethernet-phy@2 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 191 | reg = <1>; |
| 192 | }; |
| 193 | }; |
| 194 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 195 | &cp0_eth0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 196 | status = "okay"; |
| 197 | phy-mode = "sfi"; |
| 198 | }; |
| 199 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 200 | &cp0_eth1 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 201 | status = "okay"; |
| 202 | phy-mode = "sgmii"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 203 | phy = <&cp0_ge_phy0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 204 | }; |
| 205 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 206 | &cp0_eth2 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 207 | status = "okay"; |
| 208 | phy-mode = "sgmii"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 209 | phy = <&cp0_ge_phy1>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 210 | }; |
| 211 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 212 | &cp0_comphy { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 213 | /* |
| 214 | * CP0 Serdes Configuration: |
| 215 | * Lane 0: PCIe0 (x1) |
| 216 | * Lane 1: SGMII2 |
| 217 | * Lane 2: SATA0 |
| 218 | * Lane 3: SGMII1 |
| 219 | * Lane 4: SFI (10G) |
| 220 | * Lane 5: SATA1 |
| 221 | */ |
| 222 | phy0 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 223 | phy-type = <COMPHY_TYPE_PEX0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 224 | }; |
| 225 | phy1 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 226 | phy-type = <COMPHY_TYPE_SGMII2>; |
| 227 | phy-speed = <COMPHY_SPEED_1_25G>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 228 | }; |
| 229 | phy2 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 230 | phy-type = <COMPHY_TYPE_SATA0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 231 | }; |
| 232 | phy3 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 233 | phy-type = <COMPHY_TYPE_SGMII1>; |
| 234 | phy-speed = <COMPHY_SPEED_1_25G>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 235 | }; |
| 236 | phy4 { |
Igal Liberman | d7297e3 | 2018-05-14 11:20:54 +0300 | [diff] [blame] | 237 | phy-type = <COMPHY_TYPE_SFI0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 238 | }; |
| 239 | phy5 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 240 | phy-type = <COMPHY_TYPE_SATA1>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 241 | }; |
| 242 | }; |
| 243 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 244 | &cp1_mdio { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 245 | status = "okay"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 246 | cp1_ge_phy0: ethernet-phy@3 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 247 | reg = <1>; |
| 248 | }; |
| 249 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 250 | cp1_ge_phy1: ethernet-phy@4 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 251 | reg = <0>; |
| 252 | }; |
| 253 | }; |
| 254 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 255 | &cp1_pcie0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 256 | num-lanes = <2>; |
| 257 | pinctrl-names = "default"; |
| 258 | status = "okay"; |
| 259 | }; |
| 260 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 261 | &cp1_usb3_0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 262 | vbus-supply = <®_usb3h0_vbus>; |
| 263 | status = "okay"; |
| 264 | }; |
| 265 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 266 | &cp1_utmi0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 267 | status = "okay"; |
| 268 | }; |
| 269 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 270 | &cp1_ethernet { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 271 | status = "okay"; |
| 272 | }; |
| 273 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 274 | &cp1_eth0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 275 | status = "okay"; |
| 276 | phy-mode = "sfi"; |
| 277 | }; |
| 278 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 279 | &cp1_eth1 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 280 | status = "okay"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 281 | phy = <&cp1_ge_phy0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 282 | phy-mode = "sgmii"; |
| 283 | }; |
| 284 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 285 | &cp1_eth2 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 286 | status = "okay"; |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 287 | phy = <&cp1_ge_phy1>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 288 | phy-mode = "sgmii"; |
| 289 | }; |
| 290 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 291 | &cp1_pinctl { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 292 | /* |
| 293 | * MPP Bus: |
| 294 | * [0-5] TDM |
| 295 | * [6,7] CP1_UART 0 |
| 296 | * [8] CP1 10G SFP LOS |
| 297 | * [9] CP1 10G PHY RESET |
| 298 | * [10] CP1 10G SFP TX Disable |
| 299 | * [11] CP1 10G SFP Mode |
| 300 | * [12] SPI1 CS1n |
| 301 | * [13] SPI1 MISO (TDM and SPI ROM shared) |
| 302 | * [14] SPI1 CS0n |
| 303 | * [15] SPI1 MOSI (TDM and SPI ROM shared) |
| 304 | * [16] SPI1 CLK (TDM and SPI ROM shared) |
| 305 | * [24] CP1 2.5G SFP TX Disable |
| 306 | * [26] CP0 10G SFP TX Fault |
| 307 | * [27] CP0 10G SFP Mode |
| 308 | * [28] CP0 10G SFP LOS |
| 309 | * [29] CP0 10G SFP TX Disable |
| 310 | * [30] USB Over current indication |
| 311 | * [31] 10G Port 0 phy reset |
| 312 | * [32-62] = 0xff: Keep default CP1_shared_pins: |
| 313 | */ |
| 314 | /* 0 1 2 3 4 5 6 7 8 9 */ |
| 315 | pin-func = < 0x4 0x4 0x4 0x4 0x4 0x4 0x8 0x8 0x0 0x0 |
| 316 | 0x0 0x0 0x3 0x3 0x3 0x3 0x3 0xff 0xff 0xff |
| 317 | 0xff 0xff 0xff 0xff 0x0 0xff 0x0 0x0 0x0 0x0 |
| 318 | 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 319 | 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 320 | 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff |
| 321 | 0xff 0xff 0xff>; |
| 322 | }; |
| 323 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 324 | &ap_spi0 { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 325 | status = "okay"; |
| 326 | |
| 327 | spi-flash@0 { |
| 328 | #address-cells = <1>; |
| 329 | #size-cells = <1>; |
| 330 | compatible = "jedec,spi-nor"; |
| 331 | reg = <0>; |
| 332 | spi-max-frequency = <10000000>; |
| 333 | |
| 334 | partitions { |
| 335 | compatible = "fixed-partitions"; |
| 336 | #address-cells = <1>; |
| 337 | #size-cells = <1>; |
| 338 | |
| 339 | partition@u-boot { |
| 340 | reg = <0x00000000 0x001f0000>; |
| 341 | label = "u-boot"; |
| 342 | }; |
| 343 | partition@u-boot-env { |
| 344 | reg = <0x001f0000 0x00010000>; |
| 345 | label = "u-boot-env"; |
| 346 | }; |
| 347 | partition@ubi1 { |
| 348 | reg = <0x00200000 0x03f00000>; |
| 349 | label = "ubi1"; |
| 350 | }; |
| 351 | partition@ubi2 { |
| 352 | reg = <0x04100000 0x03f00000>; |
| 353 | label = "ubi2"; |
| 354 | }; |
| 355 | }; |
| 356 | }; |
| 357 | }; |
| 358 | |
Konstantin Porotchkin | 7134b35 | 2021-01-17 17:19:49 +0200 | [diff] [blame] | 359 | &cp1_comphy { |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 360 | /* |
| 361 | * CP1 Serdes Configuration: |
| 362 | * Lane 0: PCIe0 (x2) |
| 363 | * Lane 1: PCIe0 (x2) |
| 364 | * Lane 2: USB HOST 0 |
| 365 | * Lane 3: SGMII1 |
| 366 | * Lane 4: SFI (10G) |
| 367 | * Lane 5: SGMII2 |
| 368 | */ |
| 369 | phy0 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 370 | phy-type = <COMPHY_TYPE_PEX0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 371 | }; |
| 372 | phy1 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 373 | phy-type = <COMPHY_TYPE_PEX0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 374 | }; |
| 375 | phy2 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 376 | phy-type = <COMPHY_TYPE_USB3_HOST0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 377 | }; |
| 378 | phy3 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 379 | phy-type = <COMPHY_TYPE_SGMII1>; |
| 380 | phy-speed = <COMPHY_SPEED_1_25G>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 381 | }; |
| 382 | phy4 { |
Igal Liberman | d7297e3 | 2018-05-14 11:20:54 +0300 | [diff] [blame] | 383 | phy-type = <COMPHY_TYPE_SFI0>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 384 | }; |
| 385 | phy5 { |
Igal Liberman | ffd5d2f | 2017-04-26 15:40:00 +0300 | [diff] [blame] | 386 | phy-type = <COMPHY_TYPE_SGMII2>; |
| 387 | phy-speed = <COMPHY_SPEED_1_25G>; |
Luka Kovacic | c1d4530 | 2020-08-29 00:35:50 +0200 | [diff] [blame] | 388 | }; |
| 389 | }; |