| 1 |
// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2022 Sophgo Technology Inc. All rights reserved. |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
#include <dt-bindings/clock/sophgo,sg2042-clkgen.h> |
| 8 |
#include <dt-bindings/clock/sophgo,sg2042-pll.h> |
| 9 |
#include <dt-bindings/clock/sophgo,sg2042-rpgate.h> |
| 10 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 11 |
#include <dt-bindings/pinctrl/pinctrl-sg2042.h> |
| 12 |
#include <dt-bindings/reset/sophgo,sg2042-reset.h> |
| 13 |
|
| 14 |
#include "sg2042-cpus.dtsi" |
| 15 |
|
| 16 |
/ { |
| 17 |
compatible = "sophgo,sg2042"; |
| 18 |
#address-cells = <2>; |
| 19 |
#size-cells = <2>; |
| 20 |
dma-noncoherent; |
| 21 |
|
| 22 |
distance-map { |
| 23 |
compatible = "numa-distance-map-v1"; |
| 24 |
distance-matrix = <0 0 10>, |
| 25 |
<0 1 15>, |
| 26 |
<0 2 25>, |
| 27 |
<0 3 30>, |
| 28 |
<1 0 15>, |
| 29 |
<1 1 10>, |
| 30 |
<1 2 30>, |
| 31 |
<1 3 25>, |
| 32 |
<2 0 25>, |
| 33 |
<2 1 30>, |
| 34 |
<2 2 10>, |
| 35 |
<2 3 15>, |
| 36 |
<3 0 30>, |
| 37 |
<3 1 25>, |
| 38 |
<3 2 15>, |
| 39 |
<3 3 10>; |
| 40 |
}; |
| 41 |
|
| 42 |
aliases { |
| 43 |
serial0 = &uart0; |
| 44 |
}; |
| 45 |
|
| 46 |
cgi_main: oscillator0 { |
| 47 |
compatible = "fixed-clock"; |
| 48 |
clock-output-names = "cgi_main"; |
| 49 |
#clock-cells = <0>; |
| 50 |
}; |
| 51 |
|
| 52 |
cgi_dpll0: oscillator1 { |
| 53 |
compatible = "fixed-clock"; |
| 54 |
clock-output-names = "cgi_dpll0"; |
| 55 |
#clock-cells = <0>; |
| 56 |
}; |
| 57 |
|
| 58 |
cgi_dpll1: oscillator2 { |
| 59 |
compatible = "fixed-clock"; |
| 60 |
clock-output-names = "cgi_dpll1"; |
| 61 |
#clock-cells = <0>; |
| 62 |
}; |
| 63 |
|
| 64 |
soc: soc { |
| 65 |
compatible = "simple-bus"; |
| 66 |
#address-cells = <2>; |
| 67 |
#size-cells = <2>; |
| 68 |
interrupt-parent = <&intc>; |
| 69 |
ranges; |
| 70 |
|
| 71 |
spifmc0: spi@7000180000 { |
| 72 |
compatible = "sophgo,sg2042-spifmc-nor"; |
| 73 |
reg = <0x70 0x00180000 0x0 0x1000000>; |
| 74 |
#address-cells = <1>; |
| 75 |
#size-cells = <0>; |
| 76 |
clocks = <&clkgen GATE_CLK_AHB_SF>; |
| 77 |
interrupt-parent = <&intc>; |
| 78 |
interrupts = <108 IRQ_TYPE_LEVEL_HIGH>; |
| 79 |
resets = <&rstgen RST_SF0>; |
| 80 |
status = "disabled"; |
| 81 |
}; |
| 82 |
|
| 83 |
spifmc1: spi@7002180000 { |
| 84 |
compatible = "sophgo,sg2042-spifmc-nor"; |
| 85 |
reg = <0x70 0x02180000 0x0 0x1000000>; |
| 86 |
#address-cells = <1>; |
| 87 |
#size-cells = <0>; |
| 88 |
clocks = <&clkgen GATE_CLK_AHB_SF>; |
| 89 |
interrupt-parent = <&intc>; |
| 90 |
interrupts = <109 IRQ_TYPE_LEVEL_HIGH>; |
| 91 |
resets = <&rstgen RST_SF1>; |
| 92 |
status = "disabled"; |
| 93 |
}; |
| 94 |
|
| 95 |
i2c0: i2c@7030005000 { |
| 96 |
compatible = "snps,designware-i2c"; |
| 97 |
reg = <0x70 0x30005000 0x0 0x1000>; |
| 98 |
#address-cells = <1>; |
| 99 |
#size-cells = <0>; |
| 100 |
clocks = <&clkgen GATE_CLK_APB_I2C>; |
| 101 |
clock-names = "ref"; |
| 102 |
clock-frequency = <100000>; |
| 103 |
interrupts = <101 IRQ_TYPE_LEVEL_HIGH>; |
| 104 |
resets = <&rstgen RST_I2C0>; |
| 105 |
status = "disabled"; |
| 106 |
}; |
| 107 |
|
| 108 |
i2c1: i2c@7030006000 { |
| 109 |
compatible = "snps,designware-i2c"; |
| 110 |
reg = <0x70 0x30006000 0x0 0x1000>; |
| 111 |
#address-cells = <1>; |
| 112 |
#size-cells = <0>; |
| 113 |
clocks = <&clkgen GATE_CLK_APB_I2C>; |
| 114 |
clock-names = "ref"; |
| 115 |
clock-frequency = <100000>; |
| 116 |
interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; |
| 117 |
resets = <&rstgen RST_I2C1>; |
| 118 |
status = "disabled"; |
| 119 |
}; |
| 120 |
|
| 121 |
i2c2: i2c@7030007000 { |
| 122 |
compatible = "snps,designware-i2c"; |
| 123 |
reg = <0x70 0x30007000 0x0 0x1000>; |
| 124 |
#address-cells = <1>; |
| 125 |
#size-cells = <0>; |
| 126 |
clocks = <&clkgen GATE_CLK_APB_I2C>; |
| 127 |
clock-names = "ref"; |
| 128 |
clock-frequency = <100000>; |
| 129 |
interrupts = <103 IRQ_TYPE_LEVEL_HIGH>; |
| 130 |
resets = <&rstgen RST_I2C2>; |
| 131 |
status = "disabled"; |
| 132 |
}; |
| 133 |
|
| 134 |
i2c3: i2c@7030008000 { |
| 135 |
compatible = "snps,designware-i2c"; |
| 136 |
reg = <0x70 0x30008000 0x0 0x1000>; |
| 137 |
#address-cells = <1>; |
| 138 |
#size-cells = <0>; |
| 139 |
clocks = <&clkgen GATE_CLK_APB_I2C>; |
| 140 |
clock-names = "ref"; |
| 141 |
clock-frequency = <100000>; |
| 142 |
interrupts = <104 IRQ_TYPE_LEVEL_HIGH>; |
| 143 |
resets = <&rstgen RST_I2C3>; |
| 144 |
status = "disabled"; |
| 145 |
}; |
| 146 |
|
| 147 |
gpio0: gpio@7030009000 { |
| 148 |
compatible = "snps,dw-apb-gpio"; |
| 149 |
reg = <0x70 0x30009000 0x0 0x400>; |
| 150 |
#address-cells = <1>; |
| 151 |
#size-cells = <0>; |
| 152 |
clocks = <&clkgen GATE_CLK_APB_GPIO>, |
| 153 |
<&clkgen GATE_CLK_GPIO_DB>; |
| 154 |
clock-names = "bus", "db"; |
| 155 |
|
| 156 |
port0a: gpio-controller@0 { |
| 157 |
compatible = "snps,dw-apb-gpio-port"; |
| 158 |
gpio-controller; |
| 159 |
#gpio-cells = <2>; |
| 160 |
ngpios = <32>; |
| 161 |
reg = <0>; |
| 162 |
interrupt-controller; |
| 163 |
#interrupt-cells = <2>; |
| 164 |
interrupt-parent = <&intc>; |
| 165 |
interrupts = <96 IRQ_TYPE_LEVEL_HIGH>; |
| 166 |
}; |
| 167 |
}; |
| 168 |
|
| 169 |
gpio1: gpio@703000a000 { |
| 170 |
compatible = "snps,dw-apb-gpio"; |
| 171 |
reg = <0x70 0x3000a000 0x0 0x400>; |
| 172 |
#address-cells = <1>; |
| 173 |
#size-cells = <0>; |
| 174 |
clocks = <&clkgen GATE_CLK_APB_GPIO>, |
| 175 |
<&clkgen GATE_CLK_GPIO_DB>; |
| 176 |
clock-names = "bus", "db"; |
| 177 |
|
| 178 |
port1a: gpio-controller@0 { |
| 179 |
compatible = "snps,dw-apb-gpio-port"; |
| 180 |
gpio-controller; |
| 181 |
#gpio-cells = <2>; |
| 182 |
ngpios = <32>; |
| 183 |
reg = <0>; |
| 184 |
interrupt-controller; |
| 185 |
#interrupt-cells = <2>; |
| 186 |
interrupt-parent = <&intc>; |
| 187 |
interrupts = <97 IRQ_TYPE_LEVEL_HIGH>; |
| 188 |
}; |
| 189 |
}; |
| 190 |
|
| 191 |
gpio2: gpio@703000b000 { |
| 192 |
compatible = "snps,dw-apb-gpio"; |
| 193 |
reg = <0x70 0x3000b000 0x0 0x400>; |
| 194 |
#address-cells = <1>; |
| 195 |
#size-cells = <0>; |
| 196 |
clocks = <&clkgen GATE_CLK_APB_GPIO>, |
| 197 |
<&clkgen GATE_CLK_GPIO_DB>; |
| 198 |
clock-names = "bus", "db"; |
| 199 |
|
| 200 |
port2a: gpio-controller@0 { |
| 201 |
compatible = "snps,dw-apb-gpio-port"; |
| 202 |
gpio-controller; |
| 203 |
#gpio-cells = <2>; |
| 204 |
ngpios = <32>; |
| 205 |
reg = <0>; |
| 206 |
interrupt-controller; |
| 207 |
#interrupt-cells = <2>; |
| 208 |
interrupt-parent = <&intc>; |
| 209 |
interrupts = <98 IRQ_TYPE_LEVEL_HIGH>; |
| 210 |
}; |
| 211 |
}; |
| 212 |
|
| 213 |
pwm: pwm@703000c000 { |
| 214 |
compatible = "sophgo,sg2042-pwm"; |
| 215 |
reg = <0x70 0x3000c000 0x0 0x20>; |
| 216 |
#pwm-cells = <3>; |
| 217 |
clocks = <&clkgen GATE_CLK_APB_PWM>; |
| 218 |
clock-names = "apb"; |
| 219 |
resets = <&rstgen RST_PWM>; |
| 220 |
}; |
| 221 |
|
| 222 |
pllclk: clock-controller@70300100c0 { |
| 223 |
compatible = "sophgo,sg2042-pll"; |
| 224 |
reg = <0x70 0x300100c0 0x0 0x40>; |
| 225 |
clocks = <&cgi_main>, <&cgi_dpll0>, <&cgi_dpll1>; |
| 226 |
clock-names = "cgi_main", "cgi_dpll0", "cgi_dpll1"; |
| 227 |
#clock-cells = <1>; |
| 228 |
}; |
| 229 |
|
| 230 |
msi: msi-controller@7030010304 { |
| 231 |
compatible = "sophgo,sg2042-msi"; |
| 232 |
reg = <0x70 0x30010304 0x0 0x4>, |
| 233 |
<0x70 0x30010300 0x0 0x4>; |
| 234 |
reg-names = "clr", "doorbell"; |
| 235 |
msi-controller; |
| 236 |
#msi-cells = <0>; |
| 237 |
msi-ranges = <&intc 64 IRQ_TYPE_EDGE_RISING 32>; |
| 238 |
}; |
| 239 |
|
| 240 |
rpgate: clock-controller@7030010368 { |
| 241 |
compatible = "sophgo,sg2042-rpgate"; |
| 242 |
reg = <0x70 0x30010368 0x0 0x98>; |
| 243 |
clocks = <&clkgen GATE_CLK_RP_CPU_NORMAL>; |
| 244 |
clock-names = "rpgate"; |
| 245 |
#clock-cells = <1>; |
| 246 |
}; |
| 247 |
|
| 248 |
pinctrl: pinctrl@7030011000 { |
| 249 |
compatible = "sophgo,sg2042-pinctrl"; |
| 250 |
reg = <0x70 0x30011000 0x0 0x1000>; |
| 251 |
}; |
| 252 |
|
| 253 |
clkgen: clock-controller@7030012000 { |
| 254 |
compatible = "sophgo,sg2042-clkgen"; |
| 255 |
reg = <0x70 0x30012000 0x0 0x1000>; |
| 256 |
clocks = <&pllclk MPLL_CLK>, |
| 257 |
<&pllclk FPLL_CLK>, |
| 258 |
<&pllclk DPLL0_CLK>, |
| 259 |
<&pllclk DPLL1_CLK>; |
| 260 |
clock-names = "mpll", |
| 261 |
"fpll", |
| 262 |
"dpll0", |
| 263 |
"dpll1"; |
| 264 |
#clock-cells = <1>; |
| 265 |
}; |
| 266 |
|
| 267 |
rstgen: reset-controller@7030013000 { |
| 268 |
compatible = "sophgo,sg2042-reset"; |
| 269 |
reg = <0x00000070 0x30013000 0x00000000 0x0000000c>; |
| 270 |
#reset-cells = <1>; |
| 271 |
}; |
| 272 |
|
| 273 |
uart0: serial@7040000000 { |
| 274 |
compatible = "snps,dw-apb-uart"; |
| 275 |
reg = <0x00000070 0x40000000 0x00000000 0x00001000>; |
| 276 |
interrupts = <112 IRQ_TYPE_LEVEL_HIGH>; |
| 277 |
clock-frequency = <500000000>; |
| 278 |
clocks = <&clkgen GATE_CLK_UART_500M>, |
| 279 |
<&clkgen GATE_CLK_APB_UART>; |
| 280 |
clock-names = "baudclk", "apb_pclk"; |
| 281 |
reg-shift = <2>; |
| 282 |
reg-io-width = <4>; |
| 283 |
resets = <&rstgen RST_UART0>; |
| 284 |
status = "disabled"; |
| 285 |
}; |
| 286 |
|
| 287 |
spi0: spi@7040004000 { |
| 288 |
compatible = "sophgo,sg2042-spi", "snps,dw-apb-ssi"; |
| 289 |
reg = <0x70 0x40004000 0x00 0x1000>; |
| 290 |
clocks = <&clkgen GATE_CLK_APB_SPI>; |
| 291 |
interrupt-parent = <&intc>; |
| 292 |
interrupts = <110 IRQ_TYPE_LEVEL_HIGH>; |
| 293 |
#address-cells = <1>; |
| 294 |
#size-cells = <0>; |
| 295 |
num-cs = <2>; |
| 296 |
resets = <&rstgen RST_SPI0>; |
| 297 |
status = "disabled"; |
| 298 |
}; |
| 299 |
|
| 300 |
spi1: spi@7040005000 { |
| 301 |
compatible = "sophgo,sg2042-spi", "snps,dw-apb-ssi"; |
| 302 |
reg = <0x70 0x40005000 0x00 0x1000>; |
| 303 |
clocks = <&clkgen GATE_CLK_APB_SPI>; |
| 304 |
interrupt-parent = <&intc>; |
| 305 |
interrupts = <111 IRQ_TYPE_LEVEL_HIGH>; |
| 306 |
#address-cells = <1>; |
| 307 |
#size-cells = <0>; |
| 308 |
num-cs = <2>; |
| 309 |
resets = <&rstgen RST_SPI1>; |
| 310 |
status = "disabled"; |
| 311 |
}; |
| 312 |
|
| 313 |
gmac0: ethernet@7040026000 { |
| 314 |
compatible = "sophgo,sg2042-dwmac", "snps,dwmac-5.00a"; |
| 315 |
reg = <0x70 0x40026000 0x0 0x4000>; |
| 316 |
clocks = <&clkgen GATE_CLK_AXI_ETH0>, |
| 317 |
<&clkgen GATE_CLK_PTP_REF_I_ETH0>, |
| 318 |
<&clkgen GATE_CLK_TX_ETH0>; |
| 319 |
clock-names = "stmmaceth", "ptp_ref", "tx"; |
| 320 |
dma-noncoherent; |
| 321 |
interrupt-parent = <&intc>; |
| 322 |
interrupts = <132 IRQ_TYPE_LEVEL_HIGH>; |
| 323 |
interrupt-names = "macirq"; |
| 324 |
resets = <&rstgen RST_ETH0>; |
| 325 |
reset-names = "stmmaceth"; |
| 326 |
snps,multicast-filter-bins = <0>; |
| 327 |
snps,perfect-filter-entries = <1>; |
| 328 |
snps,aal; |
| 329 |
snps,tso; |
| 330 |
snps,txpbl = <32>; |
| 331 |
snps,rxpbl = <32>; |
| 332 |
snps,mtl-rx-config = <&gmac0_mtl_rx_setup>; |
| 333 |
snps,mtl-tx-config = <&gmac0_mtl_tx_setup>; |
| 334 |
snps,axi-config = <&gmac0_stmmac_axi_setup>; |
| 335 |
status = "disabled"; |
| 336 |
|
| 337 |
mdio { |
| 338 |
compatible = "snps,dwmac-mdio"; |
| 339 |
#address-cells = <1>; |
| 340 |
#size-cells = <0>; |
| 341 |
}; |
| 342 |
|
| 343 |
gmac0_mtl_rx_setup: rx-queues-config { |
| 344 |
snps,rx-queues-to-use = <8>; |
| 345 |
queue0 {}; |
| 346 |
queue1 {}; |
| 347 |
queue2 {}; |
| 348 |
queue3 {}; |
| 349 |
queue4 {}; |
| 350 |
queue5 {}; |
| 351 |
queue6 {}; |
| 352 |
queue7 {}; |
| 353 |
}; |
| 354 |
|
| 355 |
gmac0_mtl_tx_setup: tx-queues-config { |
| 356 |
snps,tx-queues-to-use = <8>; |
| 357 |
queue0 {}; |
| 358 |
queue1 {}; |
| 359 |
queue2 {}; |
| 360 |
queue3 {}; |
| 361 |
queue4 {}; |
| 362 |
queue5 {}; |
| 363 |
queue6 {}; |
| 364 |
queue7 {}; |
| 365 |
}; |
| 366 |
|
| 367 |
gmac0_stmmac_axi_setup: stmmac-axi-config { |
| 368 |
snps,blen = <16 8 4 0 0 0 0>; |
| 369 |
snps,wr_osr_lmt = <1>; |
| 370 |
snps,rd_osr_lmt = <2>; |
| 371 |
}; |
| 372 |
}; |
| 373 |
|
| 374 |
emmc: mmc@704002a000 { |
| 375 |
compatible = "sophgo,sg2042-dwcmshc"; |
| 376 |
reg = <0x70 0x4002a000 0x0 0x1000>; |
| 377 |
interrupt-parent = <&intc>; |
| 378 |
interrupts = <134 IRQ_TYPE_LEVEL_HIGH>; |
| 379 |
clocks = <&clkgen GATE_CLK_EMMC_100M>, |
| 380 |
<&clkgen GATE_CLK_AXI_EMMC>, |
| 381 |
<&clkgen GATE_CLK_100K_EMMC>; |
| 382 |
clock-names = "core", |
| 383 |
"bus", |
| 384 |
"timer"; |
| 385 |
status = "disabled"; |
| 386 |
}; |
| 387 |
|
| 388 |
sd: mmc@704002b000 { |
| 389 |
compatible = "sophgo,sg2042-dwcmshc"; |
| 390 |
reg = <0x70 0x4002b000 0x0 0x1000>; |
| 391 |
interrupt-parent = <&intc>; |
| 392 |
interrupts = <136 IRQ_TYPE_LEVEL_HIGH>; |
| 393 |
clocks = <&clkgen GATE_CLK_SD_100M>, |
| 394 |
<&clkgen GATE_CLK_AXI_SD>, |
| 395 |
<&clkgen GATE_CLK_100K_SD>; |
| 396 |
clock-names = "core", |
| 397 |
"bus", |
| 398 |
"timer"; |
| 399 |
status = "disabled"; |
| 400 |
}; |
| 401 |
|
| 402 |
pcie_rc0: pcie@7060000000 { |
| 403 |
compatible = "sophgo,sg2042-pcie-host"; |
| 404 |
device_type = "pci"; |
| 405 |
reg = <0x70 0x60000000 0x0 0x00800000>, |
| 406 |
<0x40 0x00000000 0x0 0x00001000>; |
| 407 |
reg-names = "reg", "cfg"; |
| 408 |
linux,pci-domain = <0>; |
| 409 |
#address-cells = <3>; |
| 410 |
#size-cells = <2>; |
| 411 |
ranges = <0x01000000 0x0 0x00000000 0x40 0xc0000000 0x0 0x00400000>, |
| 412 |
<0x42000000 0x0 0xd0000000 0x40 0xd0000000 0x0 0x10000000>, |
| 413 |
<0x02000000 0x0 0xe0000000 0x40 0xe0000000 0x0 0x20000000>, |
| 414 |
<0x43000000 0x42 0x00000000 0x42 0x00000000 0x2 0x00000000>, |
| 415 |
<0x03000000 0x41 0x00000000 0x41 0x00000000 0x1 0x00000000>; |
| 416 |
bus-range = <0x0 0xff>; |
| 417 |
vendor-id = <0x1f1c>; |
| 418 |
device-id = <0x2042>; |
| 419 |
cdns,no-bar-match-nbits = <48>; |
| 420 |
msi-parent = <&msi>; |
| 421 |
status = "disabled"; |
| 422 |
}; |
| 423 |
|
| 424 |
pcie_rc1: pcie@7060800000 { |
| 425 |
compatible = "sophgo,sg2042-pcie-host"; |
| 426 |
device_type = "pci"; |
| 427 |
reg = <0x70 0x60800000 0x0 0x00800000>, |
| 428 |
<0x44 0x00000000 0x0 0x00001000>; |
| 429 |
reg-names = "reg", "cfg"; |
| 430 |
linux,pci-domain = <1>; |
| 431 |
#address-cells = <3>; |
| 432 |
#size-cells = <2>; |
| 433 |
ranges = <0x01000000 0x0 0x00000000 0x44 0xc0400000 0x0 0x00400000>, |
| 434 |
<0x42000000 0x0 0xd0000000 0x44 0xd0000000 0x0 0x10000000>, |
| 435 |
<0x02000000 0x0 0xe0000000 0x44 0xe0000000 0x0 0x20000000>, |
| 436 |
<0x43000000 0x46 0x00000000 0x46 0x00000000 0x2 0x00000000>, |
| 437 |
<0x03000000 0x45 0x00000000 0x45 0x00000000 0x1 0x00000000>; |
| 438 |
bus-range = <0x0 0xff>; |
| 439 |
vendor-id = <0x1f1c>; |
| 440 |
device-id = <0x2042>; |
| 441 |
cdns,no-bar-match-nbits = <48>; |
| 442 |
msi-parent = <&msi>; |
| 443 |
status = "disabled"; |
| 444 |
}; |
| 445 |
|
| 446 |
pcie_rc2: pcie@7062000000 { |
| 447 |
compatible = "sophgo,sg2042-pcie-host"; |
| 448 |
device_type = "pci"; |
| 449 |
reg = <0x70 0x62000000 0x0 0x00800000>, |
| 450 |
<0x48 0x00000000 0x0 0x00001000>; |
| 451 |
reg-names = "reg", "cfg"; |
| 452 |
linux,pci-domain = <2>; |
| 453 |
#address-cells = <3>; |
| 454 |
#size-cells = <2>; |
| 455 |
ranges = <0x01000000 0x0 0x00000000 0x48 0xc0800000 0x0 0x00400000>, |
| 456 |
<0x42000000 0x0 0xd0000000 0x48 0xd0000000 0x0 0x10000000>, |
| 457 |
<0x02000000 0x0 0xe0000000 0x48 0xe0000000 0x0 0x20000000>, |
| 458 |
<0x03000000 0x49 0x00000000 0x49 0x00000000 0x1 0x00000000>, |
| 459 |
<0x43000000 0x4a 0x00000000 0x4a 0x00000000 0x2 0x00000000>; |
| 460 |
bus-range = <0x0 0xff>; |
| 461 |
vendor-id = <0x1f1c>; |
| 462 |
device-id = <0x2042>; |
| 463 |
cdns,no-bar-match-nbits = <48>; |
| 464 |
msi-parent = <&msi>; |
| 465 |
status = "disabled"; |
| 466 |
}; |
| 467 |
|
| 468 |
pcie_rc3: pcie@7062800000 { |
| 469 |
compatible = "sophgo,sg2042-pcie-host"; |
| 470 |
device_type = "pci"; |
| 471 |
reg = <0x70 0x62800000 0x0 0x00800000>, |
| 472 |
<0x4c 0x00000000 0x0 0x00001000>; |
| 473 |
reg-names = "reg", "cfg"; |
| 474 |
linux,pci-domain = <3>; |
| 475 |
#address-cells = <3>; |
| 476 |
#size-cells = <2>; |
| 477 |
ranges = <0x01000000 0x0 0x00000000 0x4c 0xc0c00000 0x0 0x00400000>, |
| 478 |
<0x42000000 0x0 0xf8000000 0x4c 0xf8000000 0x0 0x04000000>, |
| 479 |
<0x02000000 0x0 0xfc000000 0x4c 0xfc000000 0x0 0x04000000>, |
| 480 |
<0x43000000 0x4e 0x00000000 0x4e 0x00000000 0x2 0x00000000>, |
| 481 |
<0x03000000 0x4d 0x00000000 0x4d 0x00000000 0x1 0x00000000>; |
| 482 |
bus-range = <0x0 0xff>; |
| 483 |
vendor-id = <0x1f1c>; |
| 484 |
device-id = <0x2042>; |
| 485 |
cdns,no-bar-match-nbits = <48>; |
| 486 |
msi-parent = <&msi>; |
| 487 |
status = "disabled"; |
| 488 |
}; |
| 489 |
}; |
| 490 |
}; |