12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 2dc37374bSHongtao Jia/* 3dc37374bSHongtao Jia * Keymile kmcoge4 Device Tree Source, based on the P2041RDB DTS 4dc37374bSHongtao Jia * 5dc37374bSHongtao Jia * (C) Copyright 2014 6dc37374bSHongtao Jia * Valentin Longchamp, Keymile AG, valentin.longchamp@keymile.com 7dc37374bSHongtao Jia * 8dc37374bSHongtao Jia * Copyright 2011 Freescale Semiconductor Inc. 9dc37374bSHongtao Jia */ 10dc37374bSHongtao Jia 11dc37374bSHongtao Jia/include/ "p2041si-pre.dtsi" 12dc37374bSHongtao Jia 13dc37374bSHongtao Jia/ { 14dc37374bSHongtao Jia model = "keymile,kmcoge4"; 15dc37374bSHongtao Jia compatible = "keymile,kmcoge4", "keymile,kmp204x"; 16dc37374bSHongtao Jia #address-cells = <2>; 17dc37374bSHongtao Jia #size-cells = <2>; 18dc37374bSHongtao Jia interrupt-parent = <&mpic>; 19dc37374bSHongtao Jia 20dc37374bSHongtao Jia memory { 21dc37374bSHongtao Jia device_type = "memory"; 22dc37374bSHongtao Jia }; 23dc37374bSHongtao Jia 24dc37374bSHongtao Jia reserved-memory { 25dc37374bSHongtao Jia #address-cells = <2>; 26dc37374bSHongtao Jia #size-cells = <2>; 27dc37374bSHongtao Jia ranges; 28dc37374bSHongtao Jia 29dc37374bSHongtao Jia bman_fbpr: bman-fbpr { 30dc37374bSHongtao Jia size = <0 0x1000000>; 31dc37374bSHongtao Jia alignment = <0 0x1000000>; 32dc37374bSHongtao Jia }; 33dc37374bSHongtao Jia qman_fqd: qman-fqd { 34dc37374bSHongtao Jia size = <0 0x400000>; 35dc37374bSHongtao Jia alignment = <0 0x400000>; 36dc37374bSHongtao Jia }; 37dc37374bSHongtao Jia qman_pfdr: qman-pfdr { 38dc37374bSHongtao Jia size = <0 0x2000000>; 39dc37374bSHongtao Jia alignment = <0 0x2000000>; 40dc37374bSHongtao Jia }; 41dc37374bSHongtao Jia }; 42dc37374bSHongtao Jia 43dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 44dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01008000>; 45dc37374bSHongtao Jia }; 46dc37374bSHongtao Jia 47dc37374bSHongtao Jia bportals: bman-portals@ff4000000 { 48dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4000000 0x200000>; 49dc37374bSHongtao Jia }; 50dc37374bSHongtao Jia 51dc37374bSHongtao Jia qportals: qman-portals@ff4200000 { 52dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4200000 0x200000>; 53dc37374bSHongtao Jia }; 54dc37374bSHongtao Jia 55dc37374bSHongtao Jia soc: soc@ffe000000 { 56dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 57dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 58dc37374bSHongtao Jia spi@110000 { 59dc37374bSHongtao Jia flash@0 { 60dc37374bSHongtao Jia #address-cells = <1>; 61dc37374bSHongtao Jia #size-cells = <1>; 62fba4e9f9SHou Zhiqiang compatible = "spansion,s25fl256s1", "jedec,spi-nor"; 63dc37374bSHongtao Jia reg = <0>; 64dc37374bSHongtao Jia spi-max-frequency = <20000000>; /* input clock */ 65dc37374bSHongtao Jia }; 66dc37374bSHongtao Jia 67dc37374bSHongtao Jia network_clock@1 { 68dc37374bSHongtao Jia compatible = "zarlink,zl30343"; 69dc37374bSHongtao Jia reg = <1>; 70dc37374bSHongtao Jia spi-max-frequency = <8000000>; 71dc37374bSHongtao Jia }; 72dc37374bSHongtao Jia 73dc37374bSHongtao Jia flash@2 { 74dc37374bSHongtao Jia #address-cells = <1>; 75dc37374bSHongtao Jia #size-cells = <1>; 76fba4e9f9SHou Zhiqiang compatible = "micron,m25p32", "jedec,spi-nor"; 77dc37374bSHongtao Jia reg = <2>; 78dc37374bSHongtao Jia spi-max-frequency = <15000000>; 79dc37374bSHongtao Jia }; 80dc37374bSHongtao Jia }; 81dc37374bSHongtao Jia 82a674c7d4SValentin Longchamp sdhc@114000 { 83a674c7d4SValentin Longchamp status = "disabled"; 84a674c7d4SValentin Longchamp }; 85a674c7d4SValentin Longchamp 86dc37374bSHongtao Jia i2c@119000 { 87dc37374bSHongtao Jia status = "disabled"; 88dc37374bSHongtao Jia }; 89dc37374bSHongtao Jia 90dc37374bSHongtao Jia i2c@119100 { 91dc37374bSHongtao Jia status = "disabled"; 92dc37374bSHongtao Jia }; 93dc37374bSHongtao Jia 94dc37374bSHongtao Jia usb0: usb@210000 { 95dc37374bSHongtao Jia status = "disabled"; 96dc37374bSHongtao Jia }; 97dc37374bSHongtao Jia 98dc37374bSHongtao Jia usb1: usb@211000 { 99dc37374bSHongtao Jia status = "disabled"; 100dc37374bSHongtao Jia }; 101dc37374bSHongtao Jia 102dc37374bSHongtao Jia sata@220000 { 103dc37374bSHongtao Jia status = "disabled"; 104dc37374bSHongtao Jia }; 105dc37374bSHongtao Jia 106dc37374bSHongtao Jia sata@221000 { 107dc37374bSHongtao Jia status = "disabled"; 108dc37374bSHongtao Jia }; 1092dc32d6dSValentin Longchamp 1102dc32d6dSValentin Longchamp fman0: fman@400000 { 1112dc32d6dSValentin Longchamp enet0: ethernet@e0000 { 1122dc32d6dSValentin Longchamp phy-connection-type = "sgmii"; 1132dc32d6dSValentin Longchamp fixed-link { 1142dc32d6dSValentin Longchamp speed = <1000>; 1152dc32d6dSValentin Longchamp full-duplex; 1162dc32d6dSValentin Longchamp }; 1172dc32d6dSValentin Longchamp }; 1182dc32d6dSValentin Longchamp mdio0: mdio@e1120 { 1192dc32d6dSValentin Longchamp front_phy: ethernet-phy@11 { 1202dc32d6dSValentin Longchamp reg = <0x11>; 1212dc32d6dSValentin Longchamp }; 1222dc32d6dSValentin Longchamp }; 1232dc32d6dSValentin Longchamp 1242dc32d6dSValentin Longchamp enet1: ethernet@e2000 { 1252dc32d6dSValentin Longchamp phy-connection-type = "sgmii"; 1262dc32d6dSValentin Longchamp fixed-link { 1272dc32d6dSValentin Longchamp speed = <1000>; 1282dc32d6dSValentin Longchamp full-duplex; 1292dc32d6dSValentin Longchamp }; 1302dc32d6dSValentin Longchamp }; 1312dc32d6dSValentin Longchamp enet2: ethernet@e4000 { 1322dc32d6dSValentin Longchamp status = "disabled"; 1332dc32d6dSValentin Longchamp }; 1342dc32d6dSValentin Longchamp 1352dc32d6dSValentin Longchamp enet3: ethernet@e6000 { 1362dc32d6dSValentin Longchamp status = "disabled"; 1372dc32d6dSValentin Longchamp }; 1382dc32d6dSValentin Longchamp enet4: ethernet@e8000 { 1392dc32d6dSValentin Longchamp phy-handle = <&front_phy>; 1402dc32d6dSValentin Longchamp phy-connection-type = "rgmii"; 1412dc32d6dSValentin Longchamp }; 1422dc32d6dSValentin Longchamp enet5: ethernet@f0000 { 1432dc32d6dSValentin Longchamp status = "disabled"; 1442dc32d6dSValentin Longchamp }; 1452dc32d6dSValentin Longchamp }; 146dc37374bSHongtao Jia }; 147dc37374bSHongtao Jia 148dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 149dc37374bSHongtao Jia status = "disabled"; 150dc37374bSHongtao Jia }; 151dc37374bSHongtao Jia 152dc37374bSHongtao Jia lbc: localbus@ffe124000 { 153dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x1000>; 154dc37374bSHongtao Jia ranges = <0 0 0xf 0xffa00000 0x00040000 /* LB 0 */ 155dc37374bSHongtao Jia 1 0 0xf 0xfb000000 0x00010000 /* LB 1 */ 156dc37374bSHongtao Jia 2 0 0xf 0xd0000000 0x10000000 /* LB 2 */ 157dc37374bSHongtao Jia 3 0 0xf 0xe0000000 0x10000000>; /* LB 3 */ 158dc37374bSHongtao Jia 159dc37374bSHongtao Jia nand@0,0 { 160dc37374bSHongtao Jia #address-cells = <1>; 161dc37374bSHongtao Jia #size-cells = <1>; 162dc37374bSHongtao Jia compatible = "fsl,elbc-fcm-nand"; 163dc37374bSHongtao Jia reg = <0 0 0x40000>; 164dc37374bSHongtao Jia }; 165dc37374bSHongtao Jia 166dc37374bSHongtao Jia board-control@1,0 { 167dc37374bSHongtao Jia compatible = "keymile,qriox"; 168dc37374bSHongtao Jia reg = <1 0 0x80>; 169dc37374bSHongtao Jia }; 170dc37374bSHongtao Jia 171dc37374bSHongtao Jia chassis-mgmt@3,0 { 172dc37374bSHongtao Jia compatible = "keymile,bfticu"; 173dc37374bSHongtao Jia interrupt-controller; 174dc37374bSHongtao Jia #interrupt-cells = <2>; 175dc37374bSHongtao Jia reg = <3 0 0x100>; 176dc37374bSHongtao Jia interrupt-parent = <&mpic>; 177dc37374bSHongtao Jia interrupts = <6 1 0 0>; 178dc37374bSHongtao Jia }; 179dc37374bSHongtao Jia }; 180dc37374bSHongtao Jia 181dc37374bSHongtao Jia pci0: pcie@ffe200000 { 182dc37374bSHongtao Jia reg = <0xf 0xfe200000 0 0x1000>; 183dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 184dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 185dc37374bSHongtao Jia pcie@0 { 186dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 187dc37374bSHongtao Jia 0x02000000 0 0xe0000000 188dc37374bSHongtao Jia 0 0x20000000 189dc37374bSHongtao Jia 190dc37374bSHongtao Jia 0x01000000 0 0x00000000 191dc37374bSHongtao Jia 0x01000000 0 0x00000000 192dc37374bSHongtao Jia 0 0x00010000>; 193dc37374bSHongtao Jia }; 194dc37374bSHongtao Jia }; 195dc37374bSHongtao Jia 196dc37374bSHongtao Jia pci1: pcie@ffe201000 { 197dc37374bSHongtao Jia status = "disabled"; 198dc37374bSHongtao Jia }; 199dc37374bSHongtao Jia 200dc37374bSHongtao Jia pci2: pcie@ffe202000 { 201dc37374bSHongtao Jia reg = <0xf 0xfe202000 0 0x1000>; 202dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x20000000 203dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>; 204dc37374bSHongtao Jia pcie@0 { 205dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 206dc37374bSHongtao Jia 0x02000000 0 0xe0000000 207dc37374bSHongtao Jia 0 0x20000000 208dc37374bSHongtao Jia 209dc37374bSHongtao Jia 0x01000000 0 0x00000000 210dc37374bSHongtao Jia 0x01000000 0 0x00000000 211dc37374bSHongtao Jia 0 0x00010000>; 212dc37374bSHongtao Jia }; 213dc37374bSHongtao Jia }; 214dc37374bSHongtao Jia}; 215dc37374bSHongtao Jia 216dc37374bSHongtao Jia/include/ "p2041si-post.dtsi" 217