1*2874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 2dc37374bSHongtao Jia/* 3dc37374bSHongtao Jia * MPC8568E MDS Device Tree Source 4dc37374bSHongtao Jia * 5dc37374bSHongtao Jia * Copyright 2007, 2008 Freescale Semiconductor Inc. 6dc37374bSHongtao Jia */ 7dc37374bSHongtao Jia 8dc37374bSHongtao Jia/include/ "mpc8568si-pre.dtsi" 9dc37374bSHongtao Jia 10dc37374bSHongtao Jia/ { 11dc37374bSHongtao Jia model = "MPC8568EMDS"; 12dc37374bSHongtao Jia compatible = "MPC8568EMDS", "MPC85xxMDS"; 13dc37374bSHongtao Jia 14dc37374bSHongtao Jia aliases { 15dc37374bSHongtao Jia pci0 = &pci0; 16dc37374bSHongtao Jia pci1 = &pci1; 17dc37374bSHongtao Jia rapidio0 = &rio; 18dc37374bSHongtao Jia }; 19dc37374bSHongtao Jia 20dc37374bSHongtao Jia memory { 21dc37374bSHongtao Jia device_type = "memory"; 22dc37374bSHongtao Jia reg = <0x0 0x0 0x0 0x0>; 23dc37374bSHongtao Jia }; 24dc37374bSHongtao Jia 25dc37374bSHongtao Jia lbc: localbus@e0005000 { 26dc37374bSHongtao Jia reg = <0x0 0xe0005000 0x0 0x1000>; 27dc37374bSHongtao Jia ranges = <0x0 0x0 0xfe000000 0x02000000 28dc37374bSHongtao Jia 0x1 0x0 0xf8000000 0x00008000 29dc37374bSHongtao Jia 0x2 0x0 0xf0000000 0x04000000 30dc37374bSHongtao Jia 0x4 0x0 0xf8008000 0x00008000 31dc37374bSHongtao Jia 0x5 0x0 0xf8010000 0x00008000>; 32dc37374bSHongtao Jia 33dc37374bSHongtao Jia nor@0,0 { 34dc37374bSHongtao Jia #address-cells = <1>; 35dc37374bSHongtao Jia #size-cells = <1>; 36dc37374bSHongtao Jia compatible = "cfi-flash"; 37dc37374bSHongtao Jia reg = <0x0 0x0 0x02000000>; 38dc37374bSHongtao Jia bank-width = <2>; 39dc37374bSHongtao Jia device-width = <2>; 40dc37374bSHongtao Jia }; 41dc37374bSHongtao Jia 42dc37374bSHongtao Jia bcsr@1,0 { 43dc37374bSHongtao Jia #address-cells = <1>; 44dc37374bSHongtao Jia #size-cells = <1>; 45dc37374bSHongtao Jia compatible = "fsl,mpc8568mds-bcsr"; 46dc37374bSHongtao Jia reg = <1 0 0x8000>; 47dc37374bSHongtao Jia ranges = <0 1 0 0x8000>; 48dc37374bSHongtao Jia 49dc37374bSHongtao Jia bcsr5: gpio-controller@11 { 50dc37374bSHongtao Jia #gpio-cells = <2>; 51dc37374bSHongtao Jia compatible = "fsl,mpc8568mds-bcsr-gpio"; 52dc37374bSHongtao Jia reg = <0x5 0x1>; 53dc37374bSHongtao Jia gpio-controller; 54dc37374bSHongtao Jia }; 55dc37374bSHongtao Jia }; 56dc37374bSHongtao Jia 57dc37374bSHongtao Jia pib@4,0 { 58dc37374bSHongtao Jia compatible = "fsl,mpc8568mds-pib"; 59dc37374bSHongtao Jia reg = <4 0 0x8000>; 60dc37374bSHongtao Jia }; 61dc37374bSHongtao Jia 62dc37374bSHongtao Jia pib@5,0 { 63dc37374bSHongtao Jia compatible = "fsl,mpc8568mds-pib"; 64dc37374bSHongtao Jia reg = <5 0 0x8000>; 65dc37374bSHongtao Jia }; 66dc37374bSHongtao Jia }; 67dc37374bSHongtao Jia 68dc37374bSHongtao Jia soc: soc8568@e0000000 { 69dc37374bSHongtao Jia ranges = <0x0 0x0 0xe0000000 0x100000>; 70dc37374bSHongtao Jia 71dc37374bSHongtao Jia i2c-sleep-nexus { 72dc37374bSHongtao Jia i2c@3000 { 73dc37374bSHongtao Jia rtc@68 { 74dc37374bSHongtao Jia compatible = "dallas,ds1374"; 75dc37374bSHongtao Jia reg = <0x68>; 76dc37374bSHongtao Jia interrupts = <3 1 0 0>; 77dc37374bSHongtao Jia }; 78dc37374bSHongtao Jia }; 79dc37374bSHongtao Jia }; 80dc37374bSHongtao Jia 81dc37374bSHongtao Jia enet0: ethernet@24000 { 82dc37374bSHongtao Jia tbi-handle = <&tbi0>; 83dc37374bSHongtao Jia phy-handle = <&phy2>; 84dc37374bSHongtao Jia }; 85dc37374bSHongtao Jia 86dc37374bSHongtao Jia mdio@24520 { 87dc37374bSHongtao Jia phy0: ethernet-phy@7 { 88dc37374bSHongtao Jia interrupts = <1 1 0 0>; 89dc37374bSHongtao Jia reg = <0x7>; 90dc37374bSHongtao Jia }; 91dc37374bSHongtao Jia phy1: ethernet-phy@1 { 92dc37374bSHongtao Jia interrupts = <2 1 0 0>; 93dc37374bSHongtao Jia reg = <0x1>; 94dc37374bSHongtao Jia }; 95dc37374bSHongtao Jia phy2: ethernet-phy@2 { 96dc37374bSHongtao Jia interrupts = <1 1 0 0>; 97dc37374bSHongtao Jia reg = <0x2>; 98dc37374bSHongtao Jia }; 99dc37374bSHongtao Jia phy3: ethernet-phy@3 { 100dc37374bSHongtao Jia interrupts = <2 1 0 0>; 101dc37374bSHongtao Jia reg = <0x3>; 102dc37374bSHongtao Jia }; 103dc37374bSHongtao Jia tbi0: tbi-phy@11 { 104dc37374bSHongtao Jia reg = <0x11>; 105dc37374bSHongtao Jia device_type = "tbi-phy"; 106dc37374bSHongtao Jia }; 107dc37374bSHongtao Jia }; 108dc37374bSHongtao Jia 109dc37374bSHongtao Jia enet1: ethernet@25000 { 110dc37374bSHongtao Jia tbi-handle = <&tbi1>; 111dc37374bSHongtao Jia phy-handle = <&phy3>; 112dc37374bSHongtao Jia sleep = <&pmc 0x00000040>; 113dc37374bSHongtao Jia }; 114dc37374bSHongtao Jia 115dc37374bSHongtao Jia mdio@25520 { 116dc37374bSHongtao Jia tbi1: tbi-phy@11 { 117dc37374bSHongtao Jia reg = <0x11>; 118dc37374bSHongtao Jia device_type = "tbi-phy"; 119dc37374bSHongtao Jia }; 120dc37374bSHongtao Jia }; 121dc37374bSHongtao Jia 122dc37374bSHongtao Jia par_io@e0100 { 123dc37374bSHongtao Jia num-ports = <7>; 124dc37374bSHongtao Jia 125600ecc19SMathieu Malaterre pio1: ucc_pin@1 { 126dc37374bSHongtao Jia pio-map = < 127dc37374bSHongtao Jia /* port pin dir open_drain assignment has_irq */ 128dc37374bSHongtao Jia 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ 129dc37374bSHongtao Jia 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ 130dc37374bSHongtao Jia 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ 131dc37374bSHongtao Jia 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ 132dc37374bSHongtao Jia 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ 133dc37374bSHongtao Jia 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ 134dc37374bSHongtao Jia 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ 135dc37374bSHongtao Jia 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ 136dc37374bSHongtao Jia 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ 137dc37374bSHongtao Jia 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ 138dc37374bSHongtao Jia 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ 139dc37374bSHongtao Jia 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ 140dc37374bSHongtao Jia 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ 141dc37374bSHongtao Jia 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ 142dc37374bSHongtao Jia 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ 143dc37374bSHongtao Jia 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ 144dc37374bSHongtao Jia 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ 145dc37374bSHongtao Jia 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ 146dc37374bSHongtao Jia 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ 147dc37374bSHongtao Jia 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ 148dc37374bSHongtao Jia 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ 149dc37374bSHongtao Jia 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ 150dc37374bSHongtao Jia 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */ 151dc37374bSHongtao Jia }; 152dc37374bSHongtao Jia 153600ecc19SMathieu Malaterre pio2: ucc_pin@2 { 154dc37374bSHongtao Jia pio-map = < 155dc37374bSHongtao Jia /* port pin dir open_drain assignment has_irq */ 156dc37374bSHongtao Jia 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ 157dc37374bSHongtao Jia 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ 158dc37374bSHongtao Jia 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ 159dc37374bSHongtao Jia 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ 160dc37374bSHongtao Jia 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ 161dc37374bSHongtao Jia 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ 162dc37374bSHongtao Jia 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ 163dc37374bSHongtao Jia 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ 164dc37374bSHongtao Jia 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ 165dc37374bSHongtao Jia 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ 166dc37374bSHongtao Jia 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ 167dc37374bSHongtao Jia 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ 168dc37374bSHongtao Jia 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ 169dc37374bSHongtao Jia 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ 170dc37374bSHongtao Jia 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ 171dc37374bSHongtao Jia 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ 172dc37374bSHongtao Jia 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ 173dc37374bSHongtao Jia 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ 174dc37374bSHongtao Jia 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ 175dc37374bSHongtao Jia 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ 176dc37374bSHongtao Jia 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ 177dc37374bSHongtao Jia 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ 178dc37374bSHongtao Jia 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */ 179dc37374bSHongtao Jia 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */ 180dc37374bSHongtao Jia 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */ 181dc37374bSHongtao Jia }; 182dc37374bSHongtao Jia }; 183dc37374bSHongtao Jia }; 184dc37374bSHongtao Jia 185dc37374bSHongtao Jia qe: qe@e0080000 { 186dc37374bSHongtao Jia ranges = <0x0 0x0 0xe0080000 0x40000>; 187dc37374bSHongtao Jia reg = <0x0 0xe0080000 0x0 0x480>; 188dc37374bSHongtao Jia 189dc37374bSHongtao Jia spi@4c0 { 190dc37374bSHongtao Jia mode = "cpu"; 191dc37374bSHongtao Jia }; 192dc37374bSHongtao Jia 193dc37374bSHongtao Jia spi@500 { 194dc37374bSHongtao Jia mode = "cpu"; 195dc37374bSHongtao Jia }; 196dc37374bSHongtao Jia 197dc37374bSHongtao Jia enet2: ucc@2000 { 198dc37374bSHongtao Jia device_type = "network"; 199dc37374bSHongtao Jia compatible = "ucc_geth"; 200dc37374bSHongtao Jia local-mac-address = [ 00 00 00 00 00 00 ]; 201dc37374bSHongtao Jia rx-clock-name = "none"; 202dc37374bSHongtao Jia tx-clock-name = "clk16"; 203dc37374bSHongtao Jia pio-handle = <&pio1>; 204dc37374bSHongtao Jia phy-handle = <&phy0>; 205dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 206dc37374bSHongtao Jia }; 207dc37374bSHongtao Jia 208dc37374bSHongtao Jia enet3: ucc@3000 { 209dc37374bSHongtao Jia device_type = "network"; 210dc37374bSHongtao Jia compatible = "ucc_geth"; 211dc37374bSHongtao Jia local-mac-address = [ 00 00 00 00 00 00 ]; 212dc37374bSHongtao Jia rx-clock-name = "none"; 213dc37374bSHongtao Jia tx-clock-name = "clk16"; 214dc37374bSHongtao Jia pio-handle = <&pio2>; 215dc37374bSHongtao Jia phy-handle = <&phy1>; 216dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 217dc37374bSHongtao Jia }; 218dc37374bSHongtao Jia 219dc37374bSHongtao Jia mdio@2120 { 220dc37374bSHongtao Jia #address-cells = <1>; 221dc37374bSHongtao Jia #size-cells = <0>; 222dc37374bSHongtao Jia reg = <0x2120 0x18>; 223dc37374bSHongtao Jia compatible = "fsl,ucc-mdio"; 224dc37374bSHongtao Jia 225dc37374bSHongtao Jia /* These are the same PHYs as on 226dc37374bSHongtao Jia * gianfar's MDIO bus */ 227600ecc19SMathieu Malaterre qe_phy0: ethernet-phy@7 { 228dc37374bSHongtao Jia interrupt-parent = <&mpic>; 229dc37374bSHongtao Jia interrupts = <1 1 0 0>; 230dc37374bSHongtao Jia reg = <0x7>; 231dc37374bSHongtao Jia }; 232600ecc19SMathieu Malaterre qe_phy1: ethernet-phy@1 { 233dc37374bSHongtao Jia interrupt-parent = <&mpic>; 234dc37374bSHongtao Jia interrupts = <2 1 0 0>; 235dc37374bSHongtao Jia reg = <0x1>; 236dc37374bSHongtao Jia }; 237600ecc19SMathieu Malaterre qe_phy2: ethernet-phy@2 { 238dc37374bSHongtao Jia interrupt-parent = <&mpic>; 239dc37374bSHongtao Jia interrupts = <1 1 0 0>; 240dc37374bSHongtao Jia reg = <0x2>; 241dc37374bSHongtao Jia }; 242600ecc19SMathieu Malaterre qe_phy3: ethernet-phy@3 { 243dc37374bSHongtao Jia interrupt-parent = <&mpic>; 244dc37374bSHongtao Jia interrupts = <2 1 0 0>; 245dc37374bSHongtao Jia reg = <0x3>; 246dc37374bSHongtao Jia }; 247dc37374bSHongtao Jia }; 248dc37374bSHongtao Jia }; 249dc37374bSHongtao Jia 250dc37374bSHongtao Jia pci0: pci@e0008000 { 251dc37374bSHongtao Jia reg = <0x0 0xe0008000 0x0 0x1000>; 252dc37374bSHongtao Jia ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000 253dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0x0 0xe2000000 0x0 0x800000>; 254dc37374bSHongtao Jia clock-frequency = <66666666>; 255dc37374bSHongtao Jia interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 256dc37374bSHongtao Jia interrupt-map = < 257dc37374bSHongtao Jia /* IDSEL 0x12 AD18 */ 258dc37374bSHongtao Jia 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1 0 0 259dc37374bSHongtao Jia 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1 0 0 260dc37374bSHongtao Jia 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1 0 0 261dc37374bSHongtao Jia 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1 0 0 262dc37374bSHongtao Jia 263dc37374bSHongtao Jia /* IDSEL 0x13 AD19 */ 264dc37374bSHongtao Jia 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1 0 0 265dc37374bSHongtao Jia 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1 0 0 266dc37374bSHongtao Jia 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0 267dc37374bSHongtao Jia 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1 0 0>; 268dc37374bSHongtao Jia }; 269dc37374bSHongtao Jia 270dc37374bSHongtao Jia /* PCI Express */ 271dc37374bSHongtao Jia pci1: pcie@e000a000 { 272dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x10000000 273dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0x0 0xe2800000 0x0 0x800000>; 274dc37374bSHongtao Jia reg = <0x0 0xe000a000 0x0 0x1000>; 275dc37374bSHongtao Jia pcie@0 { 276dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 277dc37374bSHongtao Jia 0x2000000 0x0 0xa0000000 278dc37374bSHongtao Jia 0x0 0x10000000 279dc37374bSHongtao Jia 280dc37374bSHongtao Jia 0x1000000 0x0 0x0 281dc37374bSHongtao Jia 0x1000000 0x0 0x0 282dc37374bSHongtao Jia 0x0 0x800000>; 283dc37374bSHongtao Jia }; 284dc37374bSHongtao Jia }; 285dc37374bSHongtao Jia 286dc37374bSHongtao Jia rio: rapidio@e00c00000 { 287dc37374bSHongtao Jia reg = <0x0 0xe00c0000 0x0 0x20000>; 288dc37374bSHongtao Jia port1 { 289dc37374bSHongtao Jia ranges = <0x0 0x0 0x0 0xc0000000 0x0 0x20000000>; 290dc37374bSHongtao Jia }; 291dc37374bSHongtao Jia }; 292dc37374bSHongtao Jia 293dc37374bSHongtao Jia leds { 294dc37374bSHongtao Jia compatible = "gpio-leds"; 295dc37374bSHongtao Jia 296dc37374bSHongtao Jia green { 297dc37374bSHongtao Jia gpios = <&bcsr5 1 0>; 298dc37374bSHongtao Jia }; 299dc37374bSHongtao Jia 300dc37374bSHongtao Jia amber { 301dc37374bSHongtao Jia gpios = <&bcsr5 2 0>; 302dc37374bSHongtao Jia }; 303dc37374bSHongtao Jia 304dc37374bSHongtao Jia red { 305dc37374bSHongtao Jia gpios = <&bcsr5 3 0>; 306dc37374bSHongtao Jia }; 307dc37374bSHongtao Jia }; 308dc37374bSHongtao Jia}; 309dc37374bSHongtao Jia 310dc37374bSHongtao Jia/include/ "mpc8568si-post.dtsi" 311