···11+/*22+ * P1020 UTM-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 0x2000000>;4141+ bank-width = <2>;4242+ device-width = <1>;4343+4444+ partition@0 {4545+ /* 256KB for DTB Image */4646+ reg = <0x0 0x00040000>;4747+ label = "NOR DTB Image";4848+ };4949+5050+ partition@40000 {5151+ /* 3.75 MB for Linux Kernel Image */5252+ reg = <0x00040000 0x003c0000>;5353+ label = "NOR Linux Kernel Image";5454+ };5555+5656+ partition@400000 {5757+ /* 27MB for Root file System */5858+ reg = <0x00400000 0x01b00000>;5959+ label = "NOR Root File System";6060+ };6161+6262+ partition@1f00000 {6363+ /* This location must not be altered */6464+ /* 512KB for u-boot Bootloader Image */6565+ /* 512KB for u-boot Environment Variables */6666+ reg = <0x01f00000 0x00100000>;6767+ label = "NOR U-Boot Image";6868+ read-only;6969+ };7070+ };7171+};7272+7373+&soc {7474+ i2c@3000 {7575+ rtc@68 {7676+ compatible = "dallas,ds1339";7777+ reg = <0x68>;7878+ };7979+ };8080+8181+ mdio@24000 {8282+ phy0: ethernet-phy@0 {8383+ interrupts = <3 1 0 0>;8484+ reg = <0x0>;8585+ };8686+ phy1: ethernet-phy@1 {8787+ interrupts = <2 1 0 0>;8888+ reg = <0x1>;8989+ };9090+ phy2: ethernet-phy@2 {9191+ interrupts = <1 1 0 0>;9292+ reg = <0x2>;9393+ };9494+ };9595+9696+ mdio@25000 {9797+ tbi1: tbi-phy@11 {9898+ reg = <0x11>;9999+ device_type = "tbi-phy";100100+ };101101+ };102102+103103+ mdio@26000 {104104+ tbi2: tbi-phy@11 {105105+ reg = <0x11>;106106+ device_type = "tbi-phy";107107+ };108108+ };109109+110110+ enet0: ethernet@b0000 {111111+ phy-handle = <&phy2>;112112+ phy-connection-type = "rgmii-id";113113+ };114114+115115+ enet1: ethernet@b1000 {116116+ phy-handle = <&phy0>;117117+ tbi-handle = <&tbi1>;118118+ phy-connection-type = "sgmii";119119+ };120120+121121+ enet2: ethernet@b2000 {122122+ phy-handle = <&phy1>;123123+ phy-connection-type = "rgmii-id";124124+ };125125+126126+ usb@22000 {127127+ phy_type = "ulpi";128128+ };129129+130130+ /* USB2 is shared with localbus, so it must be disabled131131+ by default. We can't put 'status = "disabled";' here132132+ since U-Boot doesn't clear the status property when133133+ it enables USB2. OTOH, U-Boot does create a new node134134+ when there isn't any. So, just comment it out.135135+ */136136+ usb@23000 {137137+ status = "disabled";138138+ phy_type = "ulpi";139139+ };140140+};
+89
arch/powerpc/boot/dts/p1020utm-pc_32b.dts
···11+/*22+ * P1020 UTM-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,P1020UTM-PC";3838+ compatible = "fsl,P1020UTM-PC";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@ffe05000 {4545+ reg = <0x0 0xffe05000 0x0 0x1000>;4646+4747+ /* NOR */4848+ ranges = <0x0 0x0 0x0 0xec000000 0x020000004949+ 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/ "p1020utm-pc.dtsi"8989+/include/ "fsl/p1020si-post.dtsi"
+89
arch/powerpc/boot/dts/p1020utm-pc_36b.dts
···11+/*22+ * P1020 UTM-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,P1020UTM-PC";3838+ compatible = "fsl,P1020UTM-PC";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@fffe05000 {4545+ reg = <0xf 0xffe05000 0x0 0x1000>;4646+4747+ /* NOR */4848+ ranges = <0x0 0x0 0xf 0xec000000 0x020000004949+ 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/ "p1020utm-pc.dtsi"8989+/include/ "fsl/p1020si-post.dtsi"