···11+/*22+ * P1020 MBG-PC Device Tree Source stub (no addresses or top-level ranges)33+ *44+ * Copyright 2012 Freescale Semiconductor Inc.55+ *66+ * Redistribution and use in source and binary forms, with or without77+ * modification, are permitted provided that the following conditions are met:88+ * * Redistributions of source code must retain the above copyright99+ * notice, this list of conditions and the following disclaimer.1010+ * * Redistributions in binary form must reproduce the above copyright1111+ * notice, this list of conditions and the following disclaimer in the1212+ * documentation and/or other materials provided with the distribution.1313+ * * Neither the name of Freescale Semiconductor nor the1414+ * names of its contributors may be used to endorse or promote products1515+ * derived from this software without specific prior written permission.1616+ *1717+ *1818+ * ALTERNATIVELY, this software may be distributed under the terms of the1919+ * GNU General Public License ("GPL") as published by the Free Software2020+ * Foundation, either version 2 of that License or (at your option) any2121+ * later version.2222+ *2323+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY2424+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED2525+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE2626+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY2727+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES2828+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;2929+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND3030+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT3131+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS3232+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.3333+ */3434+3535+&lbc {3636+ nor@0,0 {3737+ #address-cells = <1>;3838+ #size-cells = <1>;3939+ compatible = "cfi-flash";4040+ reg = <0x0 0x0 0x4000000>;4141+ bank-width = <2>;4242+ device-width = <1>;4343+4444+ partition@0 {4545+ /* 128KB for DTB Image */4646+ reg = <0x0 0x00020000>;4747+ label = "NOR DTB Image";4848+ };4949+5050+ partition@20000 {5151+ /* 3.875 MB for Linux Kernel Image */5252+ reg = <0x00020000 0x003e0000>;5353+ label = "NOR Linux Kernel Image";5454+ };5555+5656+ partition@400000 {5757+ /* 58MB for Root file System */5858+ reg = <0x00400000 0x03a00000>;5959+ label = "NOR Root File System";6060+ };6161+6262+ partition@3e00000 {6363+ /* This location must not be altered */6464+ /* 1M for Vitesse 7385 Switch firmware */6565+ reg = <0x3e00000 0x00100000>;6666+ label = "NOR Vitesse-7385 Firmware";6767+ read-only;6868+ };6969+7070+ partition@3f00000 {7171+ /* This location must not be altered */7272+ /* 512KB for u-boot Bootloader Image */7373+ /* 512KB for u-boot Environment Variables */7474+ reg = <0x03f00000 0x00100000>;7575+ label = "NOR U-Boot Image";7676+ read-only;7777+ };7878+ };7979+8080+ L2switch@2,0 {8181+ #address-cells = <1>;8282+ #size-cells = <1>;8383+ compatible = "vitesse-7385";8484+ reg = <0x2 0x0 0x20000>;8585+ };8686+};8787+8888+&soc {8989+ i2c@3000 {9090+ rtc@68 {9191+ compatible = "dallas,ds1339";9292+ reg = <0x68>;9393+ };9494+ };9595+9696+ mdio@24000 {9797+ phy0: ethernet-phy@0 {9898+ interrupts = <3 1 0 0>;9999+ reg = <0x0>;100100+ };101101+ phy1: ethernet-phy@1 {102102+ interrupts = <2 1 0 0>;103103+ reg = <0x1>;104104+ };105105+ };106106+107107+ mdio@25000 {108108+ tbi1: tbi-phy@11 {109109+ reg = <0x11>;110110+ device_type = "tbi-phy";111111+ };112112+ };113113+114114+ mdio@26000 {115115+ tbi2: tbi-phy@11 {116116+ reg = <0x11>;117117+ device_type = "tbi-phy";118118+ };119119+ };120120+121121+ enet0: ethernet@b0000 {122122+ fixed-link = <1 1 1000 0 0>;123123+ phy-connection-type = "rgmii-id";124124+ };125125+126126+ enet1: ethernet@b1000 {127127+ phy-handle = <&phy0>;128128+ tbi-handle = <&tbi1>;129129+ phy-connection-type = "sgmii";130130+ };131131+132132+ enet2: ethernet@b2000 {133133+ phy-handle = <&phy1>;134134+ phy-connection-type = "rgmii-id";135135+ };136136+137137+ usb@22000 {138138+ phy_type = "ulpi";139139+ };140140+141141+ /* USB2 is shared with localbus, so it must be disabled142142+ by default. We can't put 'status = "disabled";' here143143+ since U-Boot doesn't clear the status property when144144+ it enables USB2. OTOH, U-Boot does create a new node145145+ when there isn't any. So, just comment it out.146146+ */147147+ usb@23000 {148148+ status = "disabled";149149+ phy_type = "ulpi";150150+ };151151+};
+89
arch/powerpc/boot/dts/p1020mbg-pc_32b.dts
···11+/*22+ * P1020 MBG-PC Device Tree Source (32-bit address map)33+ *44+ * Copyright 2012 Freescale Semiconductor Inc.55+ *66+ * Redistribution and use in source and binary forms, with or without77+ * modification, are permitted provided that the following conditions are met:88+ * * Redistributions of source code must retain the above copyright99+ * notice, this list of conditions and the following disclaimer.1010+ * * Redistributions in binary form must reproduce the above copyright1111+ * notice, this list of conditions and the following disclaimer in the1212+ * documentation and/or other materials provided with the distribution.1313+ * * Neither the name of Freescale Semiconductor nor the1414+ * names of its contributors may be used to endorse or promote products1515+ * derived from this software without specific prior written permission.1616+ *1717+ *1818+ * ALTERNATIVELY, this software may be distributed under the terms of the1919+ * GNU General Public License ("GPL") as published by the Free Software2020+ * Foundation, either version 2 of that License or (at your option) any2121+ * later version.2222+ *2323+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY2424+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED2525+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE2626+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY2727+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES2828+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;2929+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND3030+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT3131+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS3232+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.3333+ */3434+3535+/include/ "fsl/p1020si-pre.dtsi"3636+/ {3737+ model = "fsl,P1020MBG-PC";3838+ compatible = "fsl,P1020MBG-PC";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@ffe05000 {4545+ reg = <0x0 0xffe05000 0x0 0x1000>;4646+4747+ /* NOR and L2 switch */4848+ ranges = <0x0 0x0 0x0 0xec000000 0x040000004949+ 0x1 0x0 0x0 0xffa00000 0x000400005050+ 0x2 0x0 0x0 0xffb00000 0x00020000>;5151+ };5252+5353+ soc: soc@ffe00000 {5454+ ranges = <0x0 0x0 0xffe00000 0x100000>;5555+ };5656+5757+ pci0: pcie@ffe09000 {5858+ reg = <0x0 0xffe09000 0x0 0x1000>;5959+ ranges = <0x2000000 0x0 0xe0000000 0x0 0xa0000000 0x0 0x200000006060+ 0x1000000 0x0 0x00000000 0x0 0xffc10000 0x0 0x10000>;6161+ pcie@0 {6262+ ranges = <0x2000000 0x0 0xe00000006363+ 0x2000000 0x0 0xe00000006464+ 0x0 0x200000006565+6666+ 0x1000000 0x0 0x06767+ 0x1000000 0x0 0x06868+ 0x0 0x100000>;6969+ };7070+ };7171+7272+ pci1: pcie@ffe0a000 {7373+ reg = <0x0 0xffe0a000 0x0 0x1000>;7474+ ranges = <0x2000000 0x0 0xe0000000 0x0 0x80000000 0x0 0x200000007575+ 0x1000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x10000>;7676+ pcie@0 {7777+ ranges = <0x2000000 0x0 0xe00000007878+ 0x2000000 0x0 0xe00000007979+ 0x0 0x200000008080+8181+ 0x1000000 0x0 0x08282+ 0x1000000 0x0 0x08383+ 0x0 0x100000>;8484+ };8585+ };8686+};8787+8888+/include/ "p1020mbg-pc.dtsi"8989+/include/ "fsl/p1020si-post.dtsi"
+89
arch/powerpc/boot/dts/p1020mbg-pc_36b.dts
···11+/*22+ * P1020 MBG-PC Device Tree Source (36-bit address map)33+ *44+ * Copyright 2012 Freescale Semiconductor Inc.55+ *66+ * Redistribution and use in source and binary forms, with or without77+ * modification, are permitted provided that the following conditions are met:88+ * * Redistributions of source code must retain the above copyright99+ * notice, this list of conditions and the following disclaimer.1010+ * * Redistributions in binary form must reproduce the above copyright1111+ * notice, this list of conditions and the following disclaimer in the1212+ * documentation and/or other materials provided with the distribution.1313+ * * Neither the name of Freescale Semiconductor nor the1414+ * names of its contributors may be used to endorse or promote products1515+ * derived from this software without specific prior written permission.1616+ *1717+ *1818+ * ALTERNATIVELY, this software may be distributed under the terms of the1919+ * GNU General Public License ("GPL") as published by the Free Software2020+ * Foundation, either version 2 of that License or (at your option) any2121+ * later version.2222+ *2323+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY2424+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED2525+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE2626+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY2727+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES2828+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;2929+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND3030+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT3131+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS3232+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.3333+ */3434+3535+/include/ "fsl/p1020si-pre.dtsi"3636+/ {3737+ model = "fsl,P1020MBG-PC";3838+ compatible = "fsl,P1020MBG-PC";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@fffe05000 {4545+ reg = <0xf 0xffe05000 0x0 0x1000>;4646+4747+ /* NOR and L2 switch */4848+ ranges = <0x0 0x0 0xf 0xec000000 0x040000004949+ 0x1 0x0 0xf 0xffa00000 0x000400005050+ 0x2 0x0 0xf 0xffb00000 0x00020000>;5151+ };5252+5353+ soc: soc@fffe00000 {5454+ ranges = <0x0 0xf 0xffe00000 0x100000>;5555+ };5656+5757+ pci0: pcie@fffe09000 {5858+ reg = <0xf 0xffe09000 0x0 0x1000>;5959+ ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x200000006060+ 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;6161+ pcie@0 {6262+ ranges = <0x2000000 0x0 0xe00000006363+ 0x2000000 0x0 0xe00000006464+ 0x0 0x200000006565+6666+ 0x1000000 0x0 0x06767+ 0x1000000 0x0 0x06868+ 0x0 0x100000>;6969+ };7070+ };7171+7272+ pci1: pcie@fffe0a000 {7373+ reg = <0xf 0xffe0a000 0 0x1000>;7474+ ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x200000007575+ 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;7676+ pcie@0 {7777+ ranges = <0x2000000 0x0 0xe00000007878+ 0x2000000 0x0 0xe00000007979+ 0x0 0x200000008080+8181+ 0x1000000 0x0 0x08282+ 0x1000000 0x0 0x08383+ 0x0 0x100000>;8484+ };8585+ };8686+};8787+8888+/include/ "p1020mbg-pc.dtsi"8989+/include/ "fsl/p1020si-post.dtsi"