···11+/*22+ * BSC9131 RDB Device Tree Source33+ *44+ * Copyright 2011-2012 Freescale Semiconductor Inc.55+ *66+ * This program is free software; you can redistribute it and/or modify it77+ * under the terms of the GNU General Public License as published by the88+ * Free Software Foundation; either version 2 of the License, or (at your99+ * option) any later version.1010+ */1111+1212+/include/ "fsl/bsc9131si-pre.dtsi"1313+1414+/ {1515+ model = "fsl,bsc9131rdb";1616+ compatible = "fsl,bsc9131rdb";1717+1818+ memory {1919+ device_type = "memory";2020+ };2121+2222+ board_ifc: ifc: ifc@ff71e000 {2323+ /* NAND Flash on board */2424+ ranges = <0x0 0x0 0x0 0xff800000 0x00004000>;2525+ reg = <0x0 0xff71e000 0x0 0x2000>;2626+ };2727+2828+ board_soc: soc: soc@ff700000 {2929+ ranges = <0x0 0x0 0xff700000 0x100000>;3030+ };3131+};3232+3333+/include/ "bsc9131rdb.dtsi"3434+/include/ "fsl/bsc9131si-post.dtsi"
+142
arch/powerpc/boot/dts/bsc9131rdb.dtsi
···11+/*22+ * BSC9131 RDB Device Tree Source stub (no addresses or top-level ranges)33+ *44+ * Copyright 2011-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+&board_ifc {3636+3737+ nand@0,0 {3838+ #address-cells = <1>;3939+ #size-cells = <1>;4040+ compatible = "fsl,ifc-nand";4141+ reg = <0x0 0x0 0x4000>;4242+4343+ partition@0 {4444+ /* This location must not be altered */4545+ /* 3MB for u-boot Bootloader Image */4646+ reg = <0x0 0x00300000>;4747+ label = "NAND U-Boot Image";4848+ read-only;4949+ };5050+5151+ partition@300000 {5252+ /* 1MB for DTB Image */5353+ reg = <0x00300000 0x00100000>;5454+ label = "NAND DTB Image";5555+ };5656+5757+ partition@400000 {5858+ /* 8MB for Linux Kernel Image */5959+ reg = <0x00400000 0x00800000>;6060+ label = "NAND Linux Kernel Image";6161+ };6262+6363+ partition@c00000 {6464+ /* Rest space for Root file System Image */6565+ reg = <0x00c00000 0x07400000>;6666+ label = "NAND RFS Image";6767+ };6868+ };6969+};7070+7171+&board_soc {7272+ /* BSC9131RDB does not have any device on i2c@3100 */7373+ i2c@3100 {7474+ status = "disabled";7575+ };7676+7777+ spi@7000 {7878+ flash@0 {7979+ #address-cells = <1>;8080+ #size-cells = <1>;8181+ compatible = "spansion,s25sl12801";8282+ reg = <0>;8383+ spi-max-frequency = <50000000>;8484+8585+ /* 512KB for u-boot Bootloader Image */8686+ partition@0 {8787+ reg = <0x0 0x00080000>;8888+ label = "SPI Flash U-Boot Image";8989+ read-only;9090+ };9191+9292+ /* 512KB for DTB Image */9393+ partition@80000 {9494+ reg = <0x00080000 0x00080000>;9595+ label = "SPI Flash DTB Image";9696+ };9797+9898+ /* 4MB for Linux Kernel Image */9999+ partition@100000 {100100+ reg = <0x00100000 0x00400000>;101101+ label = "SPI Flash Kernel Image";102102+ };103103+104104+ /*11MB for RFS Image */105105+ partition@500000 {106106+ reg = <0x00500000 0x00B00000>;107107+ label = "SPI Flash RFS Image";108108+ };109109+110110+ };111111+ };112112+113113+ usb@22000 {114114+ phy_type = "ulpi";115115+ };116116+117117+ mdio@24000 {118118+ phy0: ethernet-phy@0 {119119+ interrupts = <3 1 0 0>;120120+ reg = <0x0>;121121+ };122122+123123+ phy1: ethernet-phy@1 {124124+ interrupts = <2 1 0 0>;125125+ reg = <0x3>;126126+ };127127+ };128128+129129+ sdhci@2e000 {130130+ status = "disabled";131131+ };132132+133133+ enet0: ethernet@b0000 {134134+ phy-handle = <&phy0>;135135+ phy-connection-type = "rgmii-id";136136+ };137137+138138+ enet1: ethernet@b1000 {139139+ phy-handle = <&phy1>;140140+ phy-connection-type = "rgmii-id";141141+ };142142+};
+193
arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
···11+/*22+ * BSC9131 Silicon/SoC Device Tree Source (post include)33+ *44+ * Copyright 2011-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+&ifc {3636+ #address-cells = <2>;3737+ #size-cells = <1>;3838+ compatible = "fsl,ifc", "simple-bus";3939+ interrupts = <16 2 0 0 20 2 0 0>;4040+};4141+4242+&soc {4343+ #address-cells = <1>;4444+ #size-cells = <1>;4545+ device_type = "soc";4646+ compatible = "fsl,bsc9131-immr", "simple-bus";4747+ bus-frequency = <0>; // Filled out by uboot.4848+4949+ ecm-law@0 {5050+ compatible = "fsl,ecm-law";5151+ reg = <0x0 0x1000>;5252+ fsl,num-laws = <12>;5353+ };5454+5555+ ecm@1000 {5656+ compatible = "fsl,bsc9131-ecm", "fsl,ecm";5757+ reg = <0x1000 0x1000>;5858+ interrupts = <16 2 0 0>;5959+ };6060+6161+ memory-controller@2000 {6262+ compatible = "fsl,bsc9131-memory-controller";6363+ reg = <0x2000 0x1000>;6464+ interrupts = <16 2 0 0>;6565+ };6666+6767+/include/ "pq3-i2c-0.dtsi"6868+ i2c@3000 {6969+ interrupts = <17 2 0 0>;7070+ };7171+7272+/include/ "pq3-i2c-1.dtsi"7373+ i2c@3100 {7474+ interrupts = <17 2 0 0>;7575+ };7676+7777+/include/ "pq3-duart-0.dtsi"7878+ serial0: serial@4500 {7979+ interrupts = <18 2 0 0>;8080+ };8181+8282+ serial1: serial@4600 {8383+ interrupts = <18 2 0 0 >;8484+ };8585+/include/ "pq3-espi-0.dtsi"8686+ spi0: spi@7000 {8787+ fsl,espi-num-chipselects = <1>;8888+ interrupts = <22 0x2 0 0>;8989+ };9090+9191+/include/ "pq3-gpio-0.dtsi"9292+ gpio-controller@f000 {9393+ interrupts = <19 0x2 0 0>;9494+ };9595+9696+ L2: l2-cache-controller@20000 {9797+ compatible = "fsl,bsc9131-l2-cache-controller";9898+ reg = <0x20000 0x1000>;9999+ cache-line-size = <32>; // 32 bytes100100+ cache-size = <0x40000>; // L2,256K101101+ interrupts = <16 2 0 0>;102102+ };103103+104104+/include/ "pq3-dma-0.dtsi"105105+106106+dma@21300 {107107+108108+ dma-channel@0 {109109+ interrupts = <62 2 0 0>;110110+ };111111+112112+ dma-channel@80 {113113+ interrupts = <63 2 0 0>;114114+ };115115+116116+ dma-channel@100 {117117+ interrupts = <64 2 0 0>;118118+ };119119+120120+ dma-channel@180 {121121+ interrupts = <65 2 0 0>;122122+ };123123+};124124+125125+/include/ "pq3-usb2-dr-0.dtsi"126126+usb@22000 {127127+ compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";128128+ interrupts = <40 0x2 0 0>;129129+};130130+131131+/include/ "pq3-esdhc-0.dtsi"132132+ sdhc@2e000 {133133+ fsl,sdhci-auto-cmd12;134134+ interrupts = <41 0x2 0 0>;135135+ };136136+137137+/include/ "pq3-sec4.4-0.dtsi"138138+crypto@30000 {139139+ interrupts = <57 2 0 0>;140140+141141+ sec_jr0: jr@1000 {142142+ interrupts = <58 2 0 0>;143143+ };144144+145145+ sec_jr1: jr@2000 {146146+ interrupts = <59 2 0 0>;147147+ };148148+149149+ sec_jr2: jr@3000 {150150+ interrupts = <60 2 0 0>;151151+ };152152+153153+ sec_jr3: jr@4000 {154154+ interrupts = <61 2 0 0>;155155+ };156156+};157157+158158+/include/ "pq3-mpic.dtsi"159159+160160+timer@41100 {161161+ compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";162162+ reg = <0x41400 0x200>;163163+ interrupts = <164164+ 0xb0 2165165+ 0xb1 2166166+ 0xb2 2167167+ 0xb3 2>;168168+};169169+170170+/include/ "pq3-etsec2-0.dtsi"171171+enet0: ethernet@b0000 {172172+ queue-group@b0000 {173173+ fsl,rx-bit-map = <0xff>;174174+ fsl,tx-bit-map = <0xff>;175175+ interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>;176176+ };177177+};178178+179179+/include/ "pq3-etsec2-1.dtsi"180180+enet1: ethernet@b1000 {181181+ queue-group@b1000 {182182+ fsl,rx-bit-map = <0xff>;183183+ fsl,tx-bit-map = <0xff>;184184+ interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>;185185+ };186186+};187187+188188+global-utilities@e0000 {189189+ compatible = "fsl,bsc9131-guts";190190+ reg = <0xe0000 0x1000>;191191+ fsl,has-rstcr;192192+ };193193+};
+15-1
arch/powerpc/boot/dts/fsl/p1021si-post.dtsi
···11/*22 * P1021/P1012 Silicon/SoC Device Tree Source (post include)33 *44- * Copyright 2011 Freescale Semiconductor Inc.44+ * Copyright 2011-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:···210210 cell-index = <5>;211211 reg = <0x2400 0x200>;212212 interrupts = <40>;213213+ interrupt-parent = <&qeic>;214214+ };215215+216216+ ucc@2600 {217217+ cell-index = <7>;218218+ reg = <0x2600 0x200>;219219+ interrupts = <42>;220220+ interrupt-parent = <&qeic>;221221+ };222222+223223+ ucc@2200 {224224+ cell-index = <3>;225225+ reg = <0x2200 0x200>;226226+ interrupts = <34>;213227 interrupt-parent = <&qeic>;214228 };215229
-302
arch/powerpc/boot/dts/fsl/p3060si-post.dtsi
···11-/*22- * P3060 Silicon/SoC Device Tree Source (post include)33- *44- * Copyright 2011 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- compatible = "fsl,p3060-elbc", "fsl,elbc", "simple-bus";3737- interrupts = <25 2 0 0>;3838- #address-cells = <2>;3939- #size-cells = <1>;4040-};4141-4242-/* controller at 0x200000 */4343-&pci0 {4444- compatible = "fsl,p3060-pcie", "fsl,qoriq-pcie-v2.2";4545- device_type = "pci";4646- #size-cells = <2>;4747- #address-cells = <3>;4848- bus-range = <0x0 0xff>;4949- clock-frequency = <33333333>;5050- interrupts = <16 2 1 15>;5151- pcie@0 {5252- reg = <0 0 0 0 0>;5353- #interrupt-cells = <1>;5454- #size-cells = <2>;5555- #address-cells = <3>;5656- device_type = "pci";5757- interrupts = <16 2 1 15>;5858- interrupt-map-mask = <0xf800 0 0 7>;5959- interrupt-map = <6060- /* IDSEL 0x0 */6161- 0000 0 0 1 &mpic 40 1 0 06262- 0000 0 0 2 &mpic 1 1 0 06363- 0000 0 0 3 &mpic 2 1 0 06464- 0000 0 0 4 &mpic 3 1 0 06565- >;6666- };6767-};6868-6969-/* controller at 0x201000 */7070-&pci1 {7171- compatible = "fsl,p3060-pcie", "fsl,qoriq-pcie-v2.2";7272- device_type = "pci";7373- #size-cells = <2>;7474- #address-cells = <3>;7575- bus-range = <0 0xff>;7676- clock-frequency = <33333333>;7777- interrupts = <16 2 1 14>;7878- pcie@0 {7979- reg = <0 0 0 0 0>;8080- #interrupt-cells = <1>;8181- #size-cells = <2>;8282- #address-cells = <3>;8383- device_type = "pci";8484- interrupts = <16 2 1 14>;8585- interrupt-map-mask = <0xf800 0 0 7>;8686- interrupt-map = <8787- /* IDSEL 0x0 */8888- 0000 0 0 1 &mpic 41 1 0 08989- 0000 0 0 2 &mpic 5 1 0 09090- 0000 0 0 3 &mpic 6 1 0 09191- 0000 0 0 4 &mpic 7 1 0 09292- >;9393- };9494-};9595-9696-&rio {9797- compatible = "fsl,srio";9898- interrupts = <16 2 1 11>;9999- #address-cells = <2>;100100- #size-cells = <2>;101101- fsl,srio-rmu-handle = <&rmu>;102102- ranges;103103-104104- port1 {105105- #address-cells = <2>;106106- #size-cells = <2>;107107- cell-index = <1>;108108- };109109-110110- port2 {111111- #address-cells = <2>;112112- #size-cells = <2>;113113- cell-index = <2>;114114- };115115-};116116-117117-&dcsr {118118- #address-cells = <1>;119119- #size-cells = <1>;120120- compatible = "fsl,dcsr", "simple-bus";121121-122122- dcsr-epu@0 {123123- compatible = "fsl,dcsr-epu";124124- interrupts = <52 2 0 0125125- 84 2 0 0126126- 85 2 0 0>;127127- reg = <0x0 0x1000>;128128- };129129- dcsr-npc {130130- compatible = "fsl,dcsr-npc";131131- reg = <0x1000 0x1000 0x1000000 0x8000>;132132- };133133- dcsr-nxc@2000 {134134- compatible = "fsl,dcsr-nxc";135135- reg = <0x2000 0x1000>;136136- };137137- dcsr-corenet {138138- compatible = "fsl,dcsr-corenet";139139- reg = <0x8000 0x1000 0xB0000 0x1000>;140140- };141141- dcsr-dpaa@9000 {142142- compatible = "fsl,p3060-dcsr-dpaa", "fsl,dcsr-dpaa";143143- reg = <0x9000 0x1000>;144144- };145145- dcsr-ocn@11000 {146146- compatible = "fsl,p3060-dcsr-ocn", "fsl,dcsr-ocn";147147- reg = <0x11000 0x1000>;148148- };149149- dcsr-ddr@12000 {150150- compatible = "fsl,dcsr-ddr";151151- dev-handle = <&ddr1>;152152- reg = <0x12000 0x1000>;153153- };154154- dcsr-nal@18000 {155155- compatible = "fsl,p3060-dcsr-nal", "fsl,dcsr-nal";156156- reg = <0x18000 0x1000>;157157- };158158- dcsr-rcpm@22000 {159159- compatible = "fsl,p3060-dcsr-rcpm", "fsl,dcsr-rcpm";160160- reg = <0x22000 0x1000>;161161- };162162- dcsr-cpu-sb-proxy@40000 {163163- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";164164- cpu-handle = <&cpu0>;165165- reg = <0x40000 0x1000>;166166- };167167- dcsr-cpu-sb-proxy@41000 {168168- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";169169- cpu-handle = <&cpu1>;170170- reg = <0x41000 0x1000>;171171- };172172- dcsr-cpu-sb-proxy@44000 {173173- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";174174- cpu-handle = <&cpu4>;175175- reg = <0x44000 0x1000>;176176- };177177- dcsr-cpu-sb-proxy@45000 {178178- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";179179- cpu-handle = <&cpu5>;180180- reg = <0x45000 0x1000>;181181- };182182- dcsr-cpu-sb-proxy@46000 {183183- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";184184- cpu-handle = <&cpu6>;185185- reg = <0x46000 0x1000>;186186- };187187- dcsr-cpu-sb-proxy@47000 {188188- compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";189189- cpu-handle = <&cpu7>;190190- reg = <0x47000 0x1000>;191191- };192192-193193-};194194-195195-&soc {196196- #address-cells = <1>;197197- #size-cells = <1>;198198- device_type = "soc";199199- compatible = "simple-bus";200200-201201- soc-sram-error {202202- compatible = "fsl,soc-sram-error";203203- interrupts = <16 2 1 29>;204204- };205205-206206- corenet-law@0 {207207- compatible = "fsl,corenet-law";208208- reg = <0x0 0x1000>;209209- fsl,num-laws = <32>;210210- };211211-212212- ddr1: memory-controller@8000 {213213- compatible = "fsl,qoriq-memory-controller-v4.4", "fsl,qoriq-memory-controller";214214- reg = <0x8000 0x1000>;215215- interrupts = <16 2 1 23>;216216- };217217-218218- cpc: l3-cache-controller@10000 {219219- compatible = "fsl,p3060-l3-cache-controller", "cache";220220- reg = <0x10000 0x1000221221- 0x11000 0x1000>;222222- interrupts = <16 2 1 27223223- 16 2 1 26>;224224- };225225-226226- corenet-cf@18000 {227227- compatible = "fsl,corenet-cf";228228- reg = <0x18000 0x1000>;229229- interrupts = <16 2 1 31>;230230- fsl,ccf-num-csdids = <32>;231231- fsl,ccf-num-snoopids = <32>;232232- };233233-234234- iommu@20000 {235235- compatible = "fsl,pamu-v1.0", "fsl,pamu";236236- reg = <0x20000 0x5000>;237237- interrupts = <238238- 24 2 0 0239239- 16 2 1 30>;240240- };241241-242242-/include/ "qoriq-rmu-0.dtsi"243243-/include/ "qoriq-mpic.dtsi"244244-245245- guts: global-utilities@e0000 {246246- compatible = "fsl,qoriq-device-config-1.0";247247- reg = <0xe0000 0xe00>;248248- fsl,has-rstcr;249249- #sleep-cells = <1>;250250- fsl,liodn-bits = <12>;251251- };252252-253253- pins: global-utilities@e0e00 {254254- compatible = "fsl,qoriq-pin-control-1.0";255255- reg = <0xe0e00 0x200>;256256- #sleep-cells = <2>;257257- };258258-259259- clockgen: global-utilities@e1000 {260260- compatible = "fsl,p3060-clockgen", "fsl,qoriq-clockgen-1.0";261261- reg = <0xe1000 0x1000>;262262- clock-frequency = <0>;263263- };264264-265265- rcpm: global-utilities@e2000 {266266- compatible = "fsl,qoriq-rcpm-1.0";267267- reg = <0xe2000 0x1000>;268268- #sleep-cells = <1>;269269- };270270-271271- sfp: sfp@e8000 {272272- compatible = "fsl,p3060-sfp", "fsl,qoriq-sfp-1.0";273273- reg = <0xe8000 0x1000>;274274- };275275-276276- serdes: serdes@ea000 {277277- compatible = "fsl,p3060-serdes";278278- reg = <0xea000 0x1000>;279279- };280280-281281-/include/ "qoriq-dma-0.dtsi"282282-/include/ "qoriq-dma-1.dtsi"283283-/include/ "qoriq-espi-0.dtsi"284284- spi@110000 {285285- fsl,espi-num-chipselects = <4>;286286- };287287-288288-/include/ "qoriq-i2c-0.dtsi"289289-/include/ "qoriq-i2c-1.dtsi"290290-/include/ "qoriq-duart-0.dtsi"291291-/include/ "qoriq-duart-1.dtsi"292292-/include/ "qoriq-gpio-0.dtsi"293293-/include/ "qoriq-usb2-mph-0.dtsi"294294- usb@210000 {295295- compatible = "fsl-usb2-mph-v2.2", "fsl,mpc85xx-usb2-mph", "fsl-usb2-mph";296296- };297297-/include/ "qoriq-usb2-dr-0.dtsi"298298- usb@211000 {299299- compatible = "fsl-usb2-dr-v2.2", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";300300- };301301-/include/ "qoriq-sec4.1-0.dtsi"302302-};
···11+/*22+ * P1021 RDB 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 0x1000000>;4141+ bank-width = <2>;4242+ device-width = <1>;4343+4444+ partition@0 {4545+ /* This location must not be altered */4646+ /* 256KB for Vitesse 7385 Switch firmware */4747+ reg = <0x0 0x00040000>;4848+ label = "NOR Vitesse-7385 Firmware";4949+ read-only;5050+ };5151+5252+ partition@40000 {5353+ /* 256KB for DTB Image */5454+ reg = <0x00040000 0x00040000>;5555+ label = "NOR DTB Image";5656+ };5757+5858+ partition@80000 {5959+ /* 3.5 MB for Linux Kernel Image */6060+ reg = <0x00080000 0x00380000>;6161+ label = "NOR Linux Kernel Image";6262+ };6363+6464+ partition@400000 {6565+ /* 11MB for JFFS2 based Root file System */6666+ reg = <0x00400000 0x00b00000>;6767+ label = "NOR JFFS2 Root File System";6868+ };6969+7070+ partition@f00000 {7171+ /* This location must not be altered */7272+ /* 512KB for u-boot Bootloader Image */7373+ /* 512KB for u-boot Environment Variables */7474+ reg = <0x00f00000 0x00100000>;7575+ label = "NOR U-Boot Image";7676+ };7777+ };7878+7979+ nand@1,0 {8080+ #address-cells = <1>;8181+ #size-cells = <1>;8282+ compatible = "fsl,p1021-fcm-nand",8383+ "fsl,elbc-fcm-nand";8484+ reg = <0x1 0x0 0x40000>;8585+8686+ partition@0 {8787+ /* This location must not be altered */8888+ /* 1MB for u-boot Bootloader Image */8989+ reg = <0x0 0x00100000>;9090+ label = "NAND U-Boot Image";9191+ read-only;9292+ };9393+9494+ partition@100000 {9595+ /* 1MB for DTB Image */9696+ reg = <0x00100000 0x00100000>;9797+ label = "NAND DTB Image";9898+ };9999+100100+ partition@200000 {101101+ /* 4MB for Linux Kernel Image */102102+ reg = <0x00200000 0x00400000>;103103+ label = "NAND Linux Kernel Image";104104+ };105105+106106+ partition@600000 {107107+ /* 4MB for Compressed Root file System Image */108108+ reg = <0x00600000 0x00400000>;109109+ label = "NAND Compressed RFS Image";110110+ };111111+112112+ partition@a00000 {113113+ /* 7MB for JFFS2 based Root file System */114114+ reg = <0x00a00000 0x00700000>;115115+ label = "NAND JFFS2 Root File System";116116+ };117117+118118+ partition@1100000 {119119+ /* 15MB for User Writable Area */120120+ reg = <0x01100000 0x00f00000>;121121+ label = "NAND Writable User area";122122+ };123123+ };124124+125125+ L2switch@2,0 {126126+ #address-cells = <1>;127127+ #size-cells = <1>;128128+ compatible = "vitesse-7385";129129+ reg = <0x2 0x0 0x20000>;130130+ };131131+};132132+133133+&soc {134134+ i2c@3000 {135135+ rtc@68 {136136+ compatible = "pericom,pt7c4338";137137+ reg = <0x68>;138138+ };139139+ };140140+141141+ spi@7000 {142142+ flash@0 {143143+ #address-cells = <1>;144144+ #size-cells = <1>;145145+ compatible = "spansion,s25sl12801";146146+ reg = <0>;147147+ spi-max-frequency = <40000000>; /* input clock */148148+149149+ partition@u-boot {150150+ /* 512KB for u-boot Bootloader Image */151151+ reg = <0x0 0x00080000>;152152+ label = "SPI Flash U-Boot Image";153153+ read-only;154154+ };155155+156156+ partition@dtb {157157+ /* 512KB for DTB Image */158158+ reg = <0x00080000 0x00080000>;159159+ label = "SPI Flash DTB Image";160160+ };161161+162162+ partition@kernel {163163+ /* 4MB for Linux Kernel Image */164164+ reg = <0x00100000 0x00400000>;165165+ label = "SPI Flash Linux Kernel Image";166166+ };167167+168168+ partition@fs {169169+ /* 4MB for Compressed RFS Image */170170+ reg = <0x00500000 0x00400000>;171171+ label = "SPI Flash Compressed RFSImage";172172+ };173173+174174+ partition@jffs-fs {175175+ /* 7MB for JFFS2 based RFS */176176+ reg = <0x00900000 0x00700000>;177177+ label = "SPI Flash JFFS2 RFS";178178+ };179179+ };180180+ };181181+182182+ usb@22000 {183183+ phy_type = "ulpi";184184+ };185185+186186+ mdio@24000 {187187+ phy0: ethernet-phy@0 {188188+ interrupt-parent = <&mpic>;189189+ interrupts = <3 1 0 0>;190190+ reg = <0x0>;191191+ };192192+193193+ phy1: ethernet-phy@1 {194194+ interrupt-parent = <&mpic>;195195+ interrupts = <2 1 0 0>;196196+ reg = <0x1>;197197+ };198198+199199+ tbi0: tbi-phy@11 {200200+ reg = <0x11>;201201+ device_type = "tbi-phy";202202+ };203203+ };204204+205205+ mdio@25000 {206206+ tbi1: tbi-phy@11 {207207+ reg = <0x11>;208208+ device_type = "tbi-phy";209209+ };210210+ };211211+212212+ mdio@26000 {213213+ tbi2: tbi-phy@11 {214214+ reg = <0x11>;215215+ device_type = "tbi-phy";216216+ };217217+ };218218+219219+ enet0: ethernet@b0000 {220220+ fixed-link = <1 1 1000 0 0>;221221+ phy-connection-type = "rgmii-id";222222+223223+ };224224+225225+ enet1: ethernet@b1000 {226226+ phy-handle = <&phy0>;227227+ tbi-handle = <&tbi1>;228228+ phy-connection-type = "sgmii";229229+ };230230+231231+ enet2: ethernet@b2000 {232232+ phy-handle = <&phy1>;233233+ tbi-handle = <&tbi2>;234234+ phy-connection-type = "rgmii-id";235235+ };236236+};
+96
arch/powerpc/boot/dts/p1021rdb-pc_32b.dts
···11+/*22+ * P1021 RDB Device Tree Source33+ *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/p1021si-pre.dtsi"3636+/ {3737+ model = "fsl,P1021RDB";3838+ compatible = "fsl,P1021RDB-PC";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@ffe05000 {4545+ reg = <0 0xffe05000 0 0x1000>;4646+4747+ /* NOR, NAND Flashes and Vitesse 5 port L2 switch */4848+ ranges = <0x0 0x0 0x0 0xef000000 0x010000004949+ 0x1 0x0 0x0 0xff800000 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+ ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x200000005959+ 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;6060+ reg = <0 0xffe09000 0 0x1000>;6161+ pcie@0 {6262+ ranges = <0x2000000 0x0 0xa00000006363+ 0x2000000 0x0 0xa00000006464+ 0x0 0x200000006565+6666+ 0x1000000 0x0 0x06767+ 0x1000000 0x0 0x06868+ 0x0 0x100000>;6969+ };7070+ };7171+7272+ pci1: pcie@ffe0a000 {7373+ reg = <0 0xffe0a000 0 0x1000>;7474+ ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x200000007575+ 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;7676+ pcie@0 {7777+ ranges = <0x2000000 0x0 0x800000007878+ 0x2000000 0x0 0x800000007979+ 0x0 0x200000008080+8181+ 0x1000000 0x0 0x08282+ 0x1000000 0x0 0x08383+ 0x0 0x100000>;8484+ };8585+ };8686+8787+ qe: qe@ffe80000 {8888+ ranges = <0x0 0x0 0xffe80000 0x40000>;8989+ reg = <0 0xffe80000 0 0x480>;9090+ brg-frequency = <0>;9191+ bus-frequency = <0>;9292+ };9393+};9494+9595+/include/ "p1021rdb-pc.dtsi"9696+/include/ "fsl/p1021si-post.dtsi"
···11/*22- * P1021 RDB Device Tree Source (36-bit address map)22+ * BSC9131 Silicon/SoC Device Tree Source (pre include)33 *44- * Copyright 2011 Freescale Semiconductor Inc.44+ * Copyright 2011-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:···2020 * 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 ANY2323+ * 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 ANY···3232 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.3333 */34343535-/include/ "fsl/p1021si-pre.dtsi"3535+/dts-v1/;3636/ {3737- model = "fsl,P1021RDB";3838- compatible = "fsl,P1021RDB-PC";3737+ compatible = "fsl,BSC9131";3838+ #address-cells = <2>;3939+ #size-cells = <2>;4040+ interrupt-parent = <&mpic>;39414040- memory {4141- device_type = "memory";4242+ aliases {4343+ serial0 = &serial0;4444+ ethernet0 = &enet0;4545+ ethernet1 = &enet1;4246 };43474444- lbc: localbus@fffe05000 {4545- reg = <0xf 0xffe05000 0 0x1000>;4848+ cpus {4949+ #address-cells = <1>;5050+ #size-cells = <0>;46514747- /* NOR, NAND Flashes and Vitesse 5 port L2 switch */4848- ranges = <0x0 0x0 0xf 0xef000000 0x010000004949- 0x1 0x0 0xf 0xff800000 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- ranges = <0x2000000 0x0 0xc0000000 0xc 0x20000000 0x0 0x200000005959- 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;6060- reg = <0xf 0xffe09000 0 0x1000>;6161- pcie@0 {6262- ranges = <0x2000000 0x0 0xa00000006363- 0x2000000 0x0 0xa00000006464- 0x0 0x200000006565-6666- 0x1000000 0x0 0x06767- 0x1000000 0x0 0x06868- 0x0 0x100000>;5252+ PowerPC,BSC9131@0 {5353+ device_type = "cpu";5454+ compatible = "fsl,e500v2";5555+ reg = <0x0>;5656+ next-level-cache = <&L2>;6957 };7058 };7171-7272- pci1: pcie@fffe0a000 {7373- reg = <0xf 0xffe0a000 0 0x1000>;7474- ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x200000007575- 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;7676- pcie@0 {7777- ranges = <0x2000000 0x0 0xc00000007878- 0x2000000 0x0 0xc00000007979- 0x0 0x200000008080-8181- 0x1000000 0x0 0x08282- 0x1000000 0x0 0x08383- 0x0 0x100000>;8484- };8585- };8686-8787- qe: qe@fffe80000 {8888- ranges = <0x0 0xf 0xffe80000 0x40000>;8989- reg = <0xf 0xffe80000 0 0x480>;9090- brg-frequency = <0>;9191- bus-frequency = <0>;9292- };9359};9494-9595-/include/ "p1021rdb.dtsi"9696-/include/ "fsl/p1021si-post.dtsi"
+4-16
arch/powerpc/boot/dts/p1022ds.dtsi
···3333 */34343535&board_lbc {3636- /*3737- * This node is used to access the pixis via "indirect" mode,3838- * which is done by writing the pixis register index to chip3939- * select 0 and the value to/from chip select 1. Indirect4040- * mode is the only way to access the pixis when DIU video4141- * is enabled. Note that this assumes that the first column4242- * of the 'ranges' property above is the chip select number.4343- */4444- board-control@0,0 {4545- compatible = "fsl,p1022ds-indirect-pixis";4646- reg = <0x0 0x0 1 /* CS0 */4747- 0x1 0x0 1>; /* CS1 */4848- interrupt-parent = <&mpic>;4949- interrupts = <8 0 0 0>;5050- };5151-5236 nor@0,0 {5337 #address-cells = <1>;5438 #size-cells = <1>;···144160 * clock-frequency will be set by U-Boot if145161 * the clock is enabled.146162 */163163+ };164164+ rtc@68 {165165+ compatible = "dallas,ds1339";166166+ reg = <0x68>;147167 };148168 };149169
+87
arch/powerpc/boot/dts/p1024rdb_32b.dts
···11+/*22+ * P1024 RDB 32Bit Physical Address Map Device Tree Source33+ *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,P1024RDB";3838+ compatible = "fsl,P1024RDB";3939+4040+ memory {4141+ device_type = "memory";4242+ };4343+4444+ lbc: localbus@ffe05000 {4545+ reg = <0x0 0xffe05000 0 0x1000>;4646+ ranges = <0x0 0x0 0x0 0xef000000 0x010000004747+ 0x1 0x0 0x0 0xff800000 0x00040000>;4848+ };4949+5050+ soc: soc@ffe00000 {5151+ ranges = <0x0 0x0 0xffe00000 0x100000>;5252+ };5353+5454+ pci0: pcie@ffe09000 {5555+ reg = <0x0 0xffe09000 0 0x1000>;5656+ ranges = <0x2000000 0x0 0xe0000000 0x0 0xa0000000 0x0 0x200000005757+ 0x1000000 0x0 0x00000000 0x0 0xffc10000 0x0 0x10000>;5858+ pcie@0 {5959+ ranges = <0x2000000 0x0 0xe00000006060+ 0x2000000 0x0 0xe00000006161+ 0x0 0x200000006262+6363+ 0x1000000 0x0 0x06464+ 0x1000000 0x0 0x06565+ 0x0 0x100000>;6666+ };6767+ };6868+6969+ pci1: pcie@ffe0a000 {7070+ reg = <0x0 0xffe0a000 0 0x1000>;7171+ ranges = <0x2000000 0x0 0xe0000000 0x0 0x80000000 0x0 0x200000007272+ 0x1000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x10000>;7373+ pcie@0 {7474+ reg = <0x0 0x0 0x0 0x0 0x0>;7575+ ranges = <0x2000000 0x0 0xe00000007676+ 0x2000000 0x0 0xe00000007777+ 0x0 0x200000007878+7979+ 0x1000000 0x0 0x08080+ 0x1000000 0x0 0x08181+ 0x0 0x100000>;8282+ };8383+ };8484+};8585+8686+/include/ "p1024rdb.dtsi"8787+/include/ "fsl/p1020si-post.dtsi"
···22# CONFIG_SWAP is not set33CONFIG_SYSVIPC=y44CONFIG_POSIX_MQUEUE=y55-CONFIG_SPARSE_IRQ=y65CONFIG_LOG_BUF_SHIFT=1476CONFIG_EXPERT=y88-# CONFIG_HOTPLUG is not set97CONFIG_SLAB=y108CONFIG_MODULES=y119CONFIG_MODULE_UNLOAD=y1210# CONFIG_BLK_DEV_BSG is not set1111+CONFIG_PARTITION_ADVANCED=y1212+# CONFIG_MSDOS_PARTITION is not set1313# CONFIG_IOSCHED_DEADLINE is not set1414# CONFIG_IOSCHED_CFQ is not set1515# CONFIG_PPC_CHRP is not set···3131# CONFIG_INET_XFRM_MODE_BEET is not set3232# CONFIG_INET_LRO is not set3333# CONFIG_IPV6 is not set3434+CONFIG_TIPC=y3435CONFIG_BRIDGE=m3536CONFIG_VLAN_8021Q=y3637CONFIG_MTD=y3737-CONFIG_MTD_CONCAT=y3838-CONFIG_MTD_PARTITIONS=y3938CONFIG_MTD_CMDLINE_PARTS=y4039CONFIG_MTD_CHAR=y4140CONFIG_MTD_BLOCK=y···4950CONFIG_PROC_DEVICETREE=y5051CONFIG_NETDEVICES=y5152CONFIG_DUMMY=y5252-CONFIG_TUN=y5353CONFIG_MII=y5454-CONFIG_MARVELL_PHY=y5555-CONFIG_NET_ETHERNET=y5454+CONFIG_TUN=y5655CONFIG_UCC_GETH=y5757-# CONFIG_NETDEV_10000 is not set5858-CONFIG_WAN=y5959-CONFIG_HDLC=y5656+CONFIG_MARVELL_PHY=y6057CONFIG_PPP=y6158CONFIG_PPP_MULTILINK=y6259CONFIG_PPPOE=y6060+CONFIG_WAN=y6161+CONFIG_HDLC=y6362# CONFIG_INPUT is not set6463# CONFIG_SERIO is not set6564# CONFIG_VT is not set···7477# CONFIG_DNOTIFY is not set7578CONFIG_TMPFS=y7679CONFIG_JFFS2_FS=y8080+CONFIG_UBIFS_FS=y7781CONFIG_NFS_FS=y7882CONFIG_NFS_V3=y7983CONFIG_ROOT_NFS=y8080-CONFIG_PARTITION_ADVANCED=y8181-# CONFIG_MSDOS_PARTITION is not set8282-# CONFIG_RCU_CPU_STALL_DETECTOR is not set8383-CONFIG_SYSCTL_SYSCALL_CHECK=y
-65
arch/powerpc/configs/85xx/sbc8560_defconfig
···11-CONFIG_PPC_85xx=y22-CONFIG_EXPERIMENTAL=y33-CONFIG_SYSVIPC=y44-CONFIG_LOG_BUF_SHIFT=1455-CONFIG_BLK_DEV_INITRD=y66-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set77-CONFIG_EXPERT=y88-CONFIG_SLAB=y99-# CONFIG_BLK_DEV_BSG is not set1010-CONFIG_SBC8560=y1111-CONFIG_BINFMT_MISC=y1212-CONFIG_SPARSE_IRQ=y1313-# CONFIG_SECCOMP is not set1414-CONFIG_NET=y1515-CONFIG_PACKET=y1616-CONFIG_UNIX=y1717-CONFIG_XFRM_USER=y1818-CONFIG_INET=y1919-CONFIG_IP_MULTICAST=y2020-CONFIG_IP_PNP=y2121-CONFIG_IP_PNP_DHCP=y2222-CONFIG_IP_PNP_BOOTP=y2323-CONFIG_SYN_COOKIES=y2424-# CONFIG_INET_LRO is not set2525-# CONFIG_IPV6 is not set2626-CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"2727-# CONFIG_FW_LOADER is not set2828-CONFIG_PROC_DEVICETREE=y2929-CONFIG_BLK_DEV_LOOP=y3030-CONFIG_BLK_DEV_RAM=y3131-CONFIG_BLK_DEV_RAM_SIZE=327683232-CONFIG_NETDEVICES=y3333-CONFIG_BROADCOM_PHY=y3434-CONFIG_NET_ETHERNET=y3535-CONFIG_MII=y3636-CONFIG_GIANFAR=y3737-# CONFIG_INPUT_MOUSEDEV is not set3838-# CONFIG_INPUT_KEYBOARD is not set3939-# CONFIG_INPUT_MOUSE is not set4040-# CONFIG_SERIO is not set4141-# CONFIG_VT is not set4242-CONFIG_SERIAL_8250=y4343-CONFIG_SERIAL_8250_CONSOLE=y4444-CONFIG_SERIAL_8250_NR_UARTS=24545-CONFIG_SERIAL_8250_RUNTIME_UARTS=24646-# CONFIG_HW_RANDOM is not set4747-CONFIG_VIDEO_OUTPUT_CONTROL=y4848-CONFIG_RTC_CLASS=y4949-CONFIG_RTC_DRV_M48T59=y5050-CONFIG_INOTIFY=y5151-CONFIG_PROC_KCORE=y5252-CONFIG_TMPFS=y5353-CONFIG_NFS_FS=y5454-CONFIG_ROOT_NFS=y5555-CONFIG_PARTITION_ADVANCED=y5656-# CONFIG_MSDOS_PARTITION is not set5757-CONFIG_MAGIC_SYSRQ=y5858-CONFIG_DEBUG_KERNEL=y5959-CONFIG_DETECT_HUNG_TASK=y6060-CONFIG_DEBUG_MUTEXES=y6161-# CONFIG_DEBUG_BUGVERBOSE is not set6262-# CONFIG_RCU_CPU_STALL_DETECTOR is not set6363-CONFIG_SYSCTL_SYSCALL_CHECK=y6464-CONFIG_PPC_EARLY_DEBUG=y6565-# CONFIG_CRYPTO_ANSI_CPRNG is not set
+9-1
arch/powerpc/configs/corenet32_smp_defconfig
···2323# CONFIG_BLK_DEV_BSG is not set2424CONFIG_P2041_RDB=y2525CONFIG_P3041_DS=y2626-CONFIG_P3060_QDS=y2726CONFIG_P4080_DS=y2827CONFIG_P5020_DS=y2928CONFIG_HIGHMEM=y···3132# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set3233CONFIG_BINFMT_MISC=m3334CONFIG_KEXEC=y3535+CONFIG_IRQ_ALL_CPUS=y3436CONFIG_FORCE_MAX_ZONEORDER=133537CONFIG_FSL_LBC=y3638CONFIG_PCI=y3739CONFIG_PCIEPORTBUS=y4040+CONFIG_PCI_MSI=y3841# CONFIG_PCIEASPM is not set3942CONFIG_RAPIDIO=y4043CONFIG_FSL_RIO=y···7776CONFIG_MTD_CFI=y7877CONFIG_MTD_CFI_AMDSTD=y7978CONFIG_MTD_PHYSMAP_OF=y7979+CONFIG_MTD_NAND=y8080+CONFIG_MTD_NAND_ECC=y8181+CONFIG_MTD_NAND_IDS=y8282+CONFIG_MTD_NAND_FSL_IFC=y8383+CONFIG_MTD_NAND_FSL_ELBC=y8084CONFIG_MTD_M25P80=y8185CONFIG_PROC_DEVICETREE=y8286CONFIG_BLK_DEV_LOOP=y···142136CONFIG_USB_STORAGE=y143137CONFIG_MMC=y144138CONFIG_MMC_SDHCI=y139139+CONFIG_MMC_SDHCI_OF=y140140+CONFIG_MMC_SDHCI_OF_ESDHC=y145141CONFIG_EDAC=y146142CONFIG_EDAC_MM_EDAC=y147143CONFIG_EDAC_MPC85XX=y
+52-14
arch/powerpc/configs/corenet64_smp_defconfig
···66CONFIG_EXPERIMENTAL=y77CONFIG_SYSVIPC=y88CONFIG_BSD_PROCESS_ACCT=y99-CONFIG_SPARSE_IRQ=y99+CONFIG_IRQ_DOMAIN_DEBUG=y1010+CONFIG_NO_HZ=y1111+CONFIG_HIGH_RES_TIMERS=y1012CONFIG_IKCONFIG=y1113CONFIG_IKCONFIG_PROC=y1214CONFIG_LOG_BUF_SHIFT=14···2018CONFIG_MODULE_FORCE_UNLOAD=y2119CONFIG_MODVERSIONS=y2220# CONFIG_BLK_DEV_BSG is not set2121+CONFIG_PARTITION_ADVANCED=y2222+CONFIG_MAC_PARTITION=y2323CONFIG_P5020_DS=y2424# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set2525-CONFIG_NO_HZ=y2626-CONFIG_HIGH_RES_TIMERS=y2725CONFIG_BINFMT_MISC=m2626+CONFIG_IRQ_ALL_CPUS=y2727+CONFIG_PCIEPORTBUS=y2828+CONFIG_PCI_MSI=y2829CONFIG_RAPIDIO=y2930CONFIG_FSL_RIO=y3031CONFIG_NET=y···5651CONFIG_IPV6=y5752CONFIG_IP_SCTP=m5853CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"5454+CONFIG_MTD=y5555+CONFIG_MTD_CMDLINE_PARTS=y5656+CONFIG_MTD_CHAR=y5757+CONFIG_MTD_BLOCK=y5858+CONFIG_MTD_CFI=y5959+CONFIG_MTD_CFI_AMDSTD=y6060+CONFIG_MTD_PHYSMAP_OF=y6161+CONFIG_MTD_M25P80=y6262+CONFIG_MTD_NAND=y6363+CONFIG_MTD_NAND_FSL_ELBC=y6464+CONFIG_MTD_NAND_FSL_IFC=y5965CONFIG_PROC_DEVICETREE=y6066CONFIG_BLK_DEV_LOOP=y6167CONFIG_BLK_DEV_RAM=y6268CONFIG_BLK_DEV_RAM_SIZE=1310726363-CONFIG_MISC_DEVICES=y6469CONFIG_EEPROM_LEGACY=y7070+CONFIG_ATA=y7171+CONFIG_SATA_FSL=y7272+CONFIG_SATA_SIL24=y6573CONFIG_NETDEVICES=y6674CONFIG_DUMMY=y6775CONFIG_INPUT_FF_MEMLESS=m···8466CONFIG_SERIO_LIBPS2=y8567CONFIG_SERIAL_8250=y8668CONFIG_SERIAL_8250_CONSOLE=y8787-CONFIG_SERIAL_8250_EXTENDED=y8869CONFIG_SERIAL_8250_MANY_PORTS=y8970CONFIG_SERIAL_8250_DETECT_IRQ=y9071CONFIG_SERIAL_8250_RSA=y9172CONFIG_I2C=y9273CONFIG_I2C_CHARDEV=y9374CONFIG_I2C_MPC=y7575+CONFIG_SPI=y7676+CONFIG_SPI_GPIO=y7777+CONFIG_SPI_FSL_SPI=y7878+CONFIG_SPI_FSL_ESPI=y9479# CONFIG_HWMON is not set9580CONFIG_VIDEO_OUTPUT_CONTROL=y9696-# CONFIG_HID_SUPPORT is not set9797-# CONFIG_USB_SUPPORT is not set8181+CONFIG_USB_HID=m8282+CONFIG_USB=y8383+CONFIG_USB_MON=y8484+CONFIG_USB_EHCI_HCD=y8585+CONFIG_USB_EHCI_FSL=y8686+CONFIG_USB_STORAGE=y8787+CONFIG_MMC=y8888+CONFIG_MMC_SDHCI=y8989+CONFIG_EDAC=y9090+CONFIG_EDAC_MM_EDAC=y9891CONFIG_DMADEVICES=y9992CONFIG_FSL_DMA=y10093CONFIG_EXT2_FS=y10194CONFIG_EXT3_FS=y102102-# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set9595+CONFIG_ISO9660_FS=m9696+CONFIG_JOLIET=y9797+CONFIG_ZISOFS=y9898+CONFIG_UDF_FS=m9999+CONFIG_MSDOS_FS=m100100+CONFIG_VFAT_FS=y101101+CONFIG_NTFS_FS=y103102CONFIG_PROC_KCORE=y104103CONFIG_TMPFS=y105104CONFIG_HUGETLBFS=y106105# CONFIG_MISC_FILESYSTEMS is not set107107-CONFIG_PARTITION_ADVANCED=y108108-CONFIG_MAC_PARTITION=y109109-CONFIG_NLS=y106106+CONFIG_NFS_FS=y107107+CONFIG_NFS_V4=y108108+CONFIG_ROOT_NFS=y109109+CONFIG_NFSD=m110110+CONFIG_NLS_ISO8859_1=y110111CONFIG_NLS_UTF8=m111112CONFIG_CRC_T10DIF=y112112-CONFIG_CRC_ITU_T=m113113CONFIG_FRAME_WARN=1024114114+CONFIG_MAGIC_SYSRQ=y114115CONFIG_DEBUG_FS=y116116+CONFIG_DEBUG_SHIRQ=y115117CONFIG_DETECT_HUNG_TASK=y116118CONFIG_DEBUG_INFO=y117117-CONFIG_SYSCTL_SYSCALL_CHECK=y118118-CONFIG_IRQ_DOMAIN_DEBUG=y119119+CONFIG_CRYPTO_NULL=y119120CONFIG_CRYPTO_PCBC=m121121+CONFIG_CRYPTO_MD4=y120122CONFIG_CRYPTO_SHA256=y121123CONFIG_CRYPTO_SHA512=y122124CONFIG_CRYPTO_AES=y
+4-8
arch/powerpc/configs/mgcoge_defconfig
···22# CONFIG_SWAP is not set33CONFIG_SYSVIPC=y44CONFIG_POSIX_MQUEUE=y55-CONFIG_SPARSE_IRQ=y65CONFIG_IKCONFIG=y76CONFIG_IKCONFIG_PROC=y87CONFIG_LOG_BUF_SHIFT=14···1112# CONFIG_PCSPKR_PLATFORM is not set1213CONFIG_EMBEDDED=y1314CONFIG_SLAB=y1515+CONFIG_PARTITION_ADVANCED=y1416# CONFIG_IOSCHED_CFQ is not set1517# CONFIG_PPC_PMAC is not set1618CONFIG_PPC_82xx=y···4949CONFIG_BLK_DEV_LOOP=y5050CONFIG_BLK_DEV_RAM=y5151CONFIG_NETDEVICES=y5252-CONFIG_FIXED_PHY=y5353-CONFIG_NET_ETHERNET=y5452CONFIG_FS_ENET=y5553CONFIG_FS_ENET_MDIO_FCC=y5656-# CONFIG_NETDEV_1000 is not set5757-# CONFIG_NETDEV_10000 is not set5454+CONFIG_FIXED_PHY=y5855# CONFIG_WLAN is not set5956# CONFIG_INPUT is not set6057# CONFIG_SERIO is not set···6164CONFIG_I2C=y6265CONFIG_I2C_CHARDEV=y6366CONFIG_I2C_CPM=y6767+CONFIG_SPI=y6868+CONFIG_SPI_FSL_SPI=y6469# CONFIG_HWMON is not set6570CONFIG_USB_GADGET=y6671CONFIG_USB_FSL_USB2=y···7980CONFIG_NFS_FS=y8081CONFIG_NFS_V3=y8182CONFIG_ROOT_NFS=y8282-CONFIG_PARTITION_ADVANCED=y8383-CONFIG_NLS=y8483CONFIG_NLS_CODEPAGE_437=y8584CONFIG_NLS_ASCII=y8685CONFIG_NLS_ISO8859_1=y···8790CONFIG_DEBUG_FS=y8891# CONFIG_SCHED_DEBUG is not set8992CONFIG_DEBUG_INFO=y9090-CONFIG_SYSCTL_SYSCALL_CHECK=y9193CONFIG_BDI_SWITCH=y9294CONFIG_CRYPTO_ECB=y9395CONFIG_CRYPTO_PCBC=y
···556556 /* SPE Unavailable */557557 START_EXCEPTION(SPEUnavailable)558558 NORMAL_EXCEPTION_PROLOG(SPE_UNAVAIL)559559- bne load_up_spe560560- addi r3,r1,STACK_FRAME_OVERHEAD559559+ beq 1f560560+ bl load_up_spe561561+ b fast_exception_return562562+1: addi r3,r1,STACK_FRAME_OVERHEAD561563 EXC_XFER_EE_LITE(0x2010, KernelSPE)562564#else563565 EXCEPTION(0x2020, SPE_UNAVAIL, SPEUnavailable, \···780778/* Note that the SPE support is closely modeled after the AltiVec781779 * support. Changes to one are likely to be applicable to the782780 * other! */783783-load_up_spe:781781+_GLOBAL(load_up_spe)784782/*785783 * Disable SPE for the task which had SPE previously,786784 * and save its SPE registers in its thread_struct.···828826 subi r4,r5,THREAD829827 stw r4,last_task_used_spe@l(r3)830828#endif /* !CONFIG_SMP */831831- /* restore registers and return */832832-2: REST_4GPRS(3, r11)833833- lwz r10,_CCR(r11)834834- REST_GPR(1, r11)835835- mtcr r10836836- lwz r10,_LINK(r11)837837- mtlr r10838838- REST_GPR(10, r11)839839- mtspr SPRN_SRR1,r9840840- mtspr SPRN_SRR0,r12841841- REST_GPR(9, r11)842842- REST_GPR(12, r11)843843- lwz r11,GPR11(r11)844844- rfi829829+ blr845830846831/*847832 * SPE unavailable trap from kernel - print a message, but let
+27
arch/powerpc/kernel/setup-common.c
···720720arch_initcall(powerpc_debugfs_init);721721#endif722722723723+#ifdef CONFIG_BOOKE_WDT724724+extern u32 booke_wdt_enabled;725725+extern u32 booke_wdt_period;726726+727727+/* Checks wdt=x and wdt_period=xx command-line option */728728+notrace int __init early_parse_wdt(char *p)729729+{730730+ if (p && strncmp(p, "0", 1) != 0)731731+ booke_wdt_enabled = 1;732732+733733+ return 0;734734+}735735+early_param("wdt", early_parse_wdt);736736+737737+int __init early_parse_wdt_period(char *p)738738+{739739+ unsigned long ret;740740+ if (p) {741741+ if (!kstrtol(p, 0, &ret))742742+ booke_wdt_period = ret;743743+ }744744+745745+ return 0;746746+}747747+early_param("wdt_period", early_parse_wdt_period);748748+#endif /* CONFIG_BOOKE_WDT */749749+723750void ppc_printk_progress(char *s, unsigned short hex)724751{725752 pr_info("%s\n", s);
···33 * Author: Heiko Schocher <hs@denx.de>44 *55 * Description:66- * Keymile KMETER1 board specific routines.66+ * Keymile 83xx platform specific routines.77 *88 * This program is free software; you can redistribute it and/or modify it99 * under the terms of the GNU General Public License as published by the···7070 for_each_node_by_name(np, "spi")7171 par_io_of_config(np);72727373- for (np = NULL; (np = of_find_node_by_name(np, "ucc")) != NULL;)7373+ for_each_node_by_name(np, "ucc")7474 par_io_of_config(np);7575 }76767777 np = of_find_compatible_node(NULL, "network", "ucc_geth");7878 if (np != NULL) {7979- uint svid;7979+ /*8080+ * handle mpc8360E Erratum QE_ENET10:8181+ * RGMII AC values do not meet the specification8282+ */8383+ uint svid = mfspr(SPRN_SVR);8484+ struct device_node *np_par;8585+ struct resource res;8686+ void __iomem *base;8787+ int ret;80888181- /* handle mpc8360ea rev.2.1 erratum 2: RGMII Timing */8282- svid = mfspr(SPRN_SVR);8383- if (SVR_REV(svid) == 0x0021) {8484- struct device_node *np_par;8585- struct resource res;8686- void __iomem *base;8787- int ret;8888-8989- np_par = of_find_node_by_name(NULL, "par_io");9090- if (np_par == NULL) {9191- printk(KERN_WARNING "%s couldn;t find par_io node\n",9292- __func__);9393- return;9494- }9595- /* Map Parallel I/O ports registers */9696- ret = of_address_to_resource(np_par, 0, &res);9797- if (ret) {9898- printk(KERN_WARNING "%s couldn;t map par_io registers\n",9999- __func__);100100- return;101101- }102102- base = ioremap(res.start, resource_size(&res));103103-104104- /*105105- * IMMR + 0x14A8[4:5] = 11 (clk delay for UCC 2)106106- * IMMR + 0x14A8[18:19] = 11 (clk delay for UCC 1)107107- */108108- setbits32((base + 0xa8), 0x0c003000);109109-110110- /*111111- * IMMR + 0x14AC[20:27] = 10101010112112- * (data delay for both UCC's)113113- */114114- clrsetbits_be32((base + 0xac), 0xff0, 0xaa0);115115- iounmap(base);116116- of_node_put(np_par);8989+ np_par = of_find_node_by_name(NULL, "par_io");9090+ if (np_par == NULL) {9191+ printk(KERN_WARNING "%s couldn;t find par_io node\n",9292+ __func__);9393+ return;11794 }9595+ /* Map Parallel I/O ports registers */9696+ ret = of_address_to_resource(np_par, 0, &res);9797+ if (ret) {9898+ printk(KERN_WARNING "%s couldn;t map par_io registers\n",9999+ __func__);100100+ return;101101+ }102102+103103+ base = ioremap(res.start, res.end - res.start + 1);104104+105105+ /*106106+ * set output delay adjustments to default values according107107+ * table 5 in Errata Rev. 5, 9/2011:108108+ *109109+ * write 0b01 to UCC1 bits 18:19110110+ * write 0b01 to UCC2 option 1 bits 4:5111111+ * write 0b01 to UCC2 option 2 bits 16:17112112+ */113113+ clrsetbits_be32((base + 0xa8), 0x0c00f000, 0x04005000);114114+115115+ /*116116+ * set output delay adjustments to default values according117117+ * table 3-13 in Reference Manual Rev.3 05/2010:118118+ *119119+ * write 0b01 to UCC2 option 2 bits 16:17120120+ * write 0b0101 to UCC1 bits 20:23121121+ * write 0b0101 to UCC2 option 1 bits 24:27122122+ */123123+ clrsetbits_be32((base + 0xac), 0x0000cff0, 0x00004550);124124+125125+ if (SVR_REV(svid) == 0x0021) {126126+ /*127127+ * UCC2 option 1: write 0b1010 to bits 24:27128128+ * at address IMMRBAR+0x14AC129129+ */130130+ clrsetbits_be32((base + 0xac), 0x000000f0, 0x000000a0);131131+ } else if (SVR_REV(svid) == 0x0020) {132132+ /*133133+ * UCC1: write 0b11 to bits 18:19134134+ * at address IMMRBAR+0x14A8135135+ */136136+ setbits32((base + 0xa8), 0x00003000);137137+138138+ /*139139+ * UCC2 option 1: write 0b11 to bits 4:5140140+ * at address IMMRBAR+0x14A8141141+ */142142+ setbits32((base + 0xa8), 0x0c000000);143143+144144+ /*145145+ * UCC2 option 2: write 0b11 to bits 16:17146146+ * at address IMMRBAR+0x14AC147147+ */148148+ setbits32((base + 0xac), 0x0000c000);149149+ }150150+ iounmap(base);151151+ of_node_put(np_par);118152 of_node_put(np);119153 }120120-#endif /* CONFIG_QUICC_ENGINE */154154+#endif /* CONFIG_QUICC_ENGINE */121155}122156123157machine_device_initcall(mpc83xx_km, mpc83xx_declare_of_platform_devices);
+25-18
arch/powerpc/platforms/85xx/Kconfig
···2323 cache-sram-size and cache-sram-offset kernel boot2424 parameters should be passed when this option is enabled.25252626+config BSC9131_RDB2727+ bool "Freescale BSC9131RDB"2828+ select DEFAULT_UIMAGE2929+ help3030+ This option enables support for the Freescale BSC9131RDB board.3131+ The BSC9131 is a heterogeneous SoC containing an e500v2 powerpc and a3232+ StarCore SC3850 DSP3333+ Manufacturer : Freescale Semiconductor, Inc3434+2635config MPC8540_ADS2736 bool "Freescale MPC8540 ADS"2837 select DEFAULT_UIMAGE···184175 help185176 This option enables support for the Wind River SBC8548 board186177187187-config SBC8560188188- bool "Wind River SBC8560"189189- select DEFAULT_UIMAGE190190- help191191- This option enables support for the Wind River SBC8560 board192192-193178config GE_IMP3A194179 bool "GE Intelligent Platforms IMP3A"195180 select DEFAULT_UIMAGE···225222 help226223 This option enables support for the P3041 DS board227224228228-config P3060_QDS229229- bool "Freescale P3060 QDS"230230- select DEFAULT_UIMAGE231231- select PPC_E500MC232232- select PHYS_64BIT233233- select SWIOTLB234234- select GPIO_MPC8XXX235235- select HAS_RAPIDIO236236- select PPC_EPAPR_HV_PIC237237- help238238- This option enables support for the P3060 QDS board239239-240225config P4080_DS241226 bool "Freescale P4080 DS"242227 select DEFAULT_UIMAGE···253262 select PPC_EPAPR_HV_PIC254263 help255264 This option enables support for the P5020 DS board265265+266266+config PPC_QEMU_E500267267+ bool "QEMU generic e500 platform"268268+ depends on EXPERIMENTAL269269+ select DEFAULT_UIMAGE270270+ help271271+ This option enables support for running as a QEMU guest using272272+ QEMU's generic e500 machine. This is not required if you're273273+ using a QEMU machine that targets a specific board, such as274274+ mpc8544ds.275275+276276+ Unlike most e500 boards that target a specific CPU, this277277+ platform works with any e500-family CPU that QEMU supports.278278+ Thus, you'll need to make sure CONFIG_PPC_E500MC is set or279279+ unset based on the emulated CPU (or actual host CPU in the case280280+ of KVM).256281257282endif # FSL_SOC_BOOKE258283
···11+/*22+ * BSC913xRDB Board Setup33+ *44+ * Author: Priyanka Jain <Priyanka.Jain@freescale.com>55+ *66+ * Copyright 2011-2012 Freescale Semiconductor Inc.77+ *88+ * This program is free software; you can redistribute it and/or modify it99+ * under the terms of the GNU General Public License as published by the1010+ * Free Software Foundation; either version 2 of the License, or (at your1111+ * option) any later version.1212+ */1313+1414+#include <linux/of_platform.h>1515+#include <linux/pci.h>1616+#include <asm/mpic.h>1717+#include <sysdev/fsl_soc.h>1818+#include <asm/udbg.h>1919+2020+#include "mpc85xx.h"2121+2222+void __init bsc913x_rdb_pic_init(void)2323+{2424+ struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |2525+ MPIC_SINGLE_DEST_CPU,2626+ 0, 256, " OpenPIC ");2727+2828+ if (!mpic)2929+ pr_err("bsc913x: Failed to allocate MPIC structure\n");3030+ else3131+ mpic_init(mpic);3232+}3333+3434+/*3535+ * Setup the architecture3636+ */3737+static void __init bsc913x_rdb_setup_arch(void)3838+{3939+ if (ppc_md.progress)4040+ ppc_md.progress("bsc913x_rdb_setup_arch()", 0);4141+4242+ pr_info("bsc913x board from Freescale Semiconductor\n");4343+}4444+4545+machine_device_initcall(bsc9131_rdb, mpc85xx_common_publish_devices);4646+4747+/*4848+ * Called very early, device-tree isn't unflattened4949+ */5050+5151+static int __init bsc9131_rdb_probe(void)5252+{5353+ unsigned long root = of_get_flat_dt_root();5454+5555+ return of_flat_dt_is_compatible(root, "fsl,bsc9131rdb");5656+}5757+5858+define_machine(bsc9131_rdb) {5959+ .name = "BSC9131 RDB",6060+ .probe = bsc9131_rdb_probe,6161+ .setup_arch = bsc913x_rdb_setup_arch,6262+ .init_IRQ = bsc913x_rdb_pic_init,6363+ .get_irq = mpic_get_irq,6464+ .restart = fsl_rstcr_restart,6565+ .calibrate_decr = generic_calibrate_decr,6666+ .progress = udbg_progress,6767+};
+29-68
arch/powerpc/platforms/85xx/mpc85xx_ds.c
···114114}115115116116#ifdef CONFIG_PCI117117-static int primary_phb_addr;118117extern int uli_exclude_device(struct pci_controller *hose,119118 u_char bus, u_char devfn);119119+120120+static struct device_node *pci_with_uli;120121121122static int mpc85xx_exclude_device(struct pci_controller *hose,122123 u_char bus, u_char devfn)123124{124124- struct device_node* node;125125- struct resource rsrc;126126-127127- node = hose->dn;128128- of_address_to_resource(node, 0, &rsrc);129129-130130- if ((rsrc.start & 0xfffff) == primary_phb_addr) {125125+ if (hose->dn == pci_with_uli)131126 return uli_exclude_device(hose, bus, devfn);132132- }133127134128 return PCIBIOS_SUCCESSFUL;135129}136130#endif /* CONFIG_PCI */131131+132132+static void __init mpc85xx_ds_pci_init(void)133133+{134134+#ifdef CONFIG_PCI135135+ struct device_node *node;136136+137137+ fsl_pci_init();138138+139139+ /* See if we have a ULI under the primary */140140+141141+ node = of_find_node_by_name(NULL, "uli1575");142142+ while ((pci_with_uli = of_get_parent(node))) {143143+ of_node_put(node);144144+ node = pci_with_uli;145145+146146+ if (pci_with_uli == fsl_pci_primary) {147147+ ppc_md.pci_exclude_device = mpc85xx_exclude_device;148148+ break;149149+ }150150+ }151151+#endif152152+}137153138154/*139155 * Setup the architecture140156 */141157static void __init mpc85xx_ds_setup_arch(void)142158{143143-#ifdef CONFIG_PCI144144- struct device_node *np;145145- struct pci_controller *hose;146146-#endif147147- dma_addr_t max = 0xffffffff;148148-149159 if (ppc_md.progress)150160 ppc_md.progress("mpc85xx_ds_setup_arch()", 0);151161152152-#ifdef CONFIG_PCI153153- for_each_node_by_type(np, "pci") {154154- if (of_device_is_compatible(np, "fsl,mpc8540-pci") ||155155- of_device_is_compatible(np, "fsl,mpc8548-pcie") ||156156- of_device_is_compatible(np, "fsl,p2020-pcie")) {157157- struct resource rsrc;158158- of_address_to_resource(np, 0, &rsrc);159159- if ((rsrc.start & 0xfffff) == primary_phb_addr)160160- fsl_add_bridge(np, 1);161161- else162162- fsl_add_bridge(np, 0);163163-164164- hose = pci_find_hose_for_OF_device(np);165165- max = min(max, hose->dma_window_base_cur +166166- hose->dma_window_size);167167- }168168- }169169-170170- ppc_md.pci_exclude_device = mpc85xx_exclude_device;171171-#endif172172-162162+ mpc85xx_ds_pci_init();173163 mpc85xx_smp_init();174174-175175-#ifdef CONFIG_SWIOTLB176176- if ((memblock_end_of_DRAM() - 1) > max) {177177- ppc_swiotlb_enable = 1;178178- set_pci_dma_ops(&swiotlb_dma_ops);179179- ppc_md.pci_dma_dev_setup = pci_dma_dev_setup_swiotlb;180180- }181181-#endif182164183165 printk("MPC85xx DS board from Freescale Semiconductor\n");184166}···172190{173191 unsigned long root = of_get_flat_dt_root();174192175175- if (of_flat_dt_is_compatible(root, "MPC8544DS")) {176176-#ifdef CONFIG_PCI177177- primary_phb_addr = 0xb000;178178-#endif179179- return 1;180180- }181181-182182- return 0;193193+ return !!of_flat_dt_is_compatible(root, "MPC8544DS");183194}184195185196machine_device_initcall(mpc8544_ds, mpc85xx_common_publish_devices);···190215{191216 unsigned long root = of_get_flat_dt_root();192217193193- if (of_flat_dt_is_compatible(root, "fsl,MPC8572DS")) {194194-#ifdef CONFIG_PCI195195- primary_phb_addr = 0x8000;196196-#endif197197- return 1;198198- }199199-200200- return 0;218218+ return !!of_flat_dt_is_compatible(root, "fsl,MPC8572DS");201219}202220203221/*···200232{201233 unsigned long root = of_get_flat_dt_root();202234203203- if (of_flat_dt_is_compatible(root, "fsl,P2020DS")) {204204-#ifdef CONFIG_PCI205205- primary_phb_addr = 0x9000;206206-#endif207207- return 1;208208- }209209-210210- return 0;235235+ return !!of_flat_dt_is_compatible(root, "fsl,P2020DS");211236}212237213238define_machine(mpc8544_ds) {
···2727#include <sysdev/fsl_pci.h>2828#include <asm/udbg.h>2929#include <asm/fsl_guts.h>3030+#include <asm/fsl_lbc.h>3031#include "smp.h"31323233#include "mpc85xx.h"···143142{144143}145144145145+struct fsl_law {146146+ u32 lawbar;147147+ u32 reserved1;148148+ u32 lawar;149149+ u32 reserved[5];150150+};151151+152152+#define LAWBAR_MASK 0x00F00000153153+#define LAWBAR_SHIFT 12154154+155155+#define LAWAR_EN 0x80000000156156+#define LAWAR_TGT_MASK 0x01F00000157157+#define LAW_TRGT_IF_LBC (0x04 << 20)158158+159159+#define LAWAR_MASK (LAWAR_EN | LAWAR_TGT_MASK)160160+#define LAWAR_MATCH (LAWAR_EN | LAW_TRGT_IF_LBC)161161+162162+#define BR_BA 0xFFFF8000163163+164164+/*165165+ * Map a BRx value to a physical address166166+ *167167+ * The localbus BRx registers only store the lower 32 bits of the address. To168168+ * obtain the upper four bits, we need to scan the LAW table. The entry which169169+ * maps to the localbus will contain the upper four bits.170170+ */171171+static phys_addr_t lbc_br_to_phys(const void *ecm, unsigned int count, u32 br)172172+{173173+#ifndef CONFIG_PHYS_64BIT174174+ /*175175+ * If we only have 32-bit addressing, then the BRx address *is* the176176+ * physical address.177177+ */178178+ return br & BR_BA;179179+#else180180+ const struct fsl_law *law = ecm + 0xc08;181181+ unsigned int i;182182+183183+ for (i = 0; i < count; i++) {184184+ u64 lawbar = in_be32(&law[i].lawbar);185185+ u32 lawar = in_be32(&law[i].lawar);186186+187187+ if ((lawar & LAWAR_MASK) == LAWAR_MATCH)188188+ /* Extract the upper four bits */189189+ return (br & BR_BA) | ((lawbar & LAWBAR_MASK) << 12);190190+ }191191+192192+ return 0;193193+#endif194194+}195195+146196/**147197 * p1022ds_set_monitor_port: switch the output to a different monitor port148148- *149198 */150199static void p1022ds_set_monitor_port(enum fsl_diu_monitor_port port)151200{152201 struct device_node *guts_node;153153- struct device_node *indirect_node = NULL;202202+ struct device_node *lbc_node = NULL;203203+ struct device_node *law_node = NULL;154204 struct ccsr_guts __iomem *guts;205205+ struct fsl_lbc_regs *lbc = NULL;206206+ void *ecm = NULL;155207 u8 __iomem *lbc_lcs0_ba = NULL;156208 u8 __iomem *lbc_lcs1_ba = NULL;209209+ phys_addr_t cs0_addr, cs1_addr;210210+ const __be32 *iprop;211211+ unsigned int num_laws;157212 u8 b;158213159214 /* Map the global utilities registers. */···225168 goto exit;226169 }227170228228- indirect_node = of_find_compatible_node(NULL, NULL,229229- "fsl,p1022ds-indirect-pixis");230230- if (!indirect_node) {231231- pr_err("p1022ds: missing pixis indirect mode node\n");171171+ lbc_node = of_find_compatible_node(NULL, NULL, "fsl,p1022-elbc");172172+ if (!lbc_node) {173173+ pr_err("p1022ds: missing localbus node\n");232174 goto exit;233175 }234176235235- lbc_lcs0_ba = of_iomap(indirect_node, 0);236236- if (!lbc_lcs0_ba) {237237- pr_err("p1022ds: could not map localbus chip select 0\n");177177+ lbc = of_iomap(lbc_node, 0);178178+ if (!lbc) {179179+ pr_err("p1022ds: could not map localbus node\n");238180 goto exit;239181 }240182241241- lbc_lcs1_ba = of_iomap(indirect_node, 1);242242- if (!lbc_lcs1_ba) {243243- pr_err("p1022ds: could not map localbus chip select 1\n");183183+ law_node = of_find_compatible_node(NULL, NULL, "fsl,ecm-law");184184+ if (!law_node) {185185+ pr_err("p1022ds: missing local access window node\n");244186 goto exit;245187 }188188+189189+ ecm = of_iomap(law_node, 0);190190+ if (!ecm) {191191+ pr_err("p1022ds: could not map local access window node\n");192192+ goto exit;193193+ }194194+195195+ iprop = of_get_property(law_node, "fsl,num-laws", 0);196196+ if (!iprop) {197197+ pr_err("p1022ds: LAW node is missing fsl,num-laws property\n");198198+ goto exit;199199+ }200200+ num_laws = be32_to_cpup(iprop);201201+202202+ cs0_addr = lbc_br_to_phys(ecm, num_laws, in_be32(&lbc->bank[0].br));203203+ cs1_addr = lbc_br_to_phys(ecm, num_laws, in_be32(&lbc->bank[1].br));204204+205205+ lbc_lcs0_ba = ioremap(cs0_addr, 1);206206+ lbc_lcs1_ba = ioremap(cs1_addr, 1);246207247208 /* Make sure we're in indirect mode first. */248209 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) !=···329254 iounmap(lbc_lcs1_ba);330255 if (lbc_lcs0_ba)331256 iounmap(lbc_lcs0_ba);257257+ if (lbc)258258+ iounmap(lbc);259259+ if (ecm)260260+ iounmap(ecm);332261 if (guts)333262 iounmap(guts);334263335335- of_node_put(indirect_node);264264+ of_node_put(law_node);265265+ of_node_put(lbc_node);336266 of_node_put(guts_node);337267}338268
-77
arch/powerpc/platforms/85xx/p3060_qds.c
···11-/*22- * P3060 QDS Setup33- *44- * Copyright 2011 Freescale Semiconductor Inc.55- *66- * This program is free software; you can redistribute it and/or modify it77- * under the terms of the GNU General Public License as published by the88- * Free Software Foundation; either version 2 of the License, or (at your99- * option) any later version.1010- */1111-1212-#include <linux/kernel.h>1313-#include <linux/interrupt.h>1414-#include <linux/phy.h>1515-#include <asm/machdep.h>1616-#include <asm/udbg.h>1717-#include <asm/mpic.h>1818-#include <linux/of_platform.h>1919-#include <sysdev/fsl_soc.h>2020-#include <sysdev/fsl_pci.h>2121-#include <asm/ehv_pic.h>2222-#include "corenet_ds.h"2323-2424-/*2525- * Called very early, device-tree isn't unflattened2626- */2727-static int __init p3060_qds_probe(void)2828-{2929- unsigned long root = of_get_flat_dt_root();3030-#ifdef CONFIG_SMP3131- extern struct smp_ops_t smp_85xx_ops;3232-#endif3333-3434- if (of_flat_dt_is_compatible(root, "fsl,P3060QDS"))3535- return 1;3636-3737- /* Check if we're running under the Freescale hypervisor */3838- if (of_flat_dt_is_compatible(root, "fsl,P3060QDS-hv")) {3939- ppc_md.init_IRQ = ehv_pic_init;4040- ppc_md.get_irq = ehv_pic_get_irq;4141- ppc_md.restart = fsl_hv_restart;4242- ppc_md.power_off = fsl_hv_halt;4343- ppc_md.halt = fsl_hv_halt;4444-#ifdef CONFIG_SMP4545- /*4646- * Disable the timebase sync operations because we can't write4747- * to the timebase registers under the hypervisor.4848- */4949- smp_85xx_ops.give_timebase = NULL;5050- smp_85xx_ops.take_timebase = NULL;5151-#endif5252- return 1;5353- }5454-5555- return 0;5656-}5757-5858-define_machine(p3060_qds) {5959- .name = "P3060 QDS",6060- .probe = p3060_qds_probe,6161- .setup_arch = corenet_ds_setup_arch,6262- .init_IRQ = corenet_ds_pic_init,6363-#ifdef CONFIG_PCI6464- .pcibios_fixup_bus = fsl_pcibios_fixup_bus,6565-#endif6666- .get_irq = mpic_get_coreint_irq,6767- .restart = fsl_rstcr_restart,6868- .calibrate_decr = generic_calibrate_decr,6969- .progress = udbg_progress,7070- .power_save = e500_idle,7171-};7272-7373-machine_device_initcall(p3060_qds, corenet_ds_publish_devices);7474-7575-#ifdef CONFIG_SWIOTLB7676-machine_arch_initcall(p3060_qds, swiotlb_setup_bus_notifier);7777-#endif
+72
arch/powerpc/platforms/85xx/qemu_e500.c
···11+/*22+ * Paravirt target for a generic QEMU e500 machine33+ *44+ * This is intended to be a flexible device-tree-driven platform, not fixed55+ * to a particular piece of hardware or a particular spec of virtual hardware,66+ * beyond the assumption of an e500-family CPU. Some things are still hardcoded77+ * here, such as MPIC, but this is a limitation of the current code rather than88+ * an interface contract with QEMU.99+ *1010+ * Copyright 2012 Freescale Semiconductor Inc.1111+ *1212+ * This program is free software; you can redistribute it and/or modify it1313+ * under the terms of the GNU General Public License as published by the1414+ * Free Software Foundation; either version 2 of the License, or (at your1515+ * option) any later version.1616+ */1717+1818+#include <linux/kernel.h>1919+#include <linux/of_fdt.h>2020+#include <asm/machdep.h>2121+#include <asm/time.h>2222+#include <asm/udbg.h>2323+#include <asm/mpic.h>2424+#include <sysdev/fsl_soc.h>2525+#include <sysdev/fsl_pci.h>2626+#include "smp.h"2727+#include "mpc85xx.h"2828+2929+void __init qemu_e500_pic_init(void)3030+{3131+ struct mpic *mpic;3232+3333+ mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | MPIC_SINGLE_DEST_CPU,3434+ 0, 256, " OpenPIC ");3535+3636+ BUG_ON(mpic == NULL);3737+ mpic_init(mpic);3838+}3939+4040+static void __init qemu_e500_setup_arch(void)4141+{4242+ ppc_md.progress("qemu_e500_setup_arch()", 0);4343+4444+ fsl_pci_init();4545+ mpc85xx_smp_init();4646+}4747+4848+/*4949+ * Called very early, device-tree isn't unflattened5050+ */5151+static int __init qemu_e500_probe(void)5252+{5353+ unsigned long root = of_get_flat_dt_root();5454+5555+ return !!of_flat_dt_is_compatible(root, "fsl,qemu-e500");5656+}5757+5858+machine_device_initcall(qemu_e500, mpc85xx_common_publish_devices);5959+6060+define_machine(qemu_e500) {6161+ .name = "QEMU e500",6262+ .probe = qemu_e500_probe,6363+ .setup_arch = qemu_e500_setup_arch,6464+ .init_IRQ = qemu_e500_pic_init,6565+#ifdef CONFIG_PCI6666+ .pcibios_fixup_bus = fsl_pcibios_fixup_bus,6767+#endif6868+ .get_irq = mpic_get_irq,6969+ .restart = fsl_rstcr_restart,7070+ .calibrate_decr = generic_calibrate_decr,7171+ .progress = udbg_progress,7272+};
···159159 bool "e500mc Support"160160 select PPC_FPU161161 depends on E500162162+ help163163+ This must be enabled for running on e500mc (and derivatives164164+ such as e5500/e6500), and must be disabled for running on165165+ e500v1 or e500v2.162166163167config PPC_FPU164168 bool
+71-2
arch/powerpc/sysdev/fsl_pci.c
···11/*22 * MPC83xx/85xx/86xx PCI/PCIE support routing.33 *44- * Copyright 2007-2011 Freescale Semiconductor, Inc.44+ * Copyright 2007-2012 Freescale Semiconductor, Inc.55 * Copyright 2008-2009 MontaVista Software, Inc.66 *77 * Initial author: Xianghua Xiao <x.xiao@freescale.com>···36363737static int fsl_pcie_bus_fixup, is_mpc83xx_pci;38383939-static void __init quirk_fsl_pcie_header(struct pci_dev *dev)3939+static void __devinit quirk_fsl_pcie_header(struct pci_dev *dev)4040{4141 u8 progif;4242···807807808808 return 0;809809}810810+811811+#if defined(CONFIG_FSL_SOC_BOOKE) || defined(CONFIG_PPC_86xx)812812+static const struct of_device_id pci_ids[] = {813813+ { .compatible = "fsl,mpc8540-pci", },814814+ { .compatible = "fsl,mpc8548-pcie", },815815+ { .compatible = "fsl,mpc8610-pci", },816816+ { .compatible = "fsl,mpc8641-pcie", },817817+ { .compatible = "fsl,p1022-pcie", },818818+ { .compatible = "fsl,p1010-pcie", },819819+ { .compatible = "fsl,p1023-pcie", },820820+ { .compatible = "fsl,p4080-pcie", },821821+ { .compatible = "fsl,qoriq-pcie-v2.3", },822822+ { .compatible = "fsl,qoriq-pcie-v2.2", },823823+ {},824824+};825825+826826+struct device_node *fsl_pci_primary;827827+828828+void __devinit fsl_pci_init(void)829829+{830830+ struct device_node *node;831831+ struct pci_controller *hose;832832+ dma_addr_t max = 0xffffffff;833833+834834+ /* Callers can specify the primary bus using other means. */835835+ if (!fsl_pci_primary) {836836+ /* If a PCI host bridge contains an ISA node, it's primary. */837837+ node = of_find_node_by_type(NULL, "isa");838838+ while ((fsl_pci_primary = of_get_parent(node))) {839839+ of_node_put(node);840840+ node = fsl_pci_primary;841841+842842+ if (of_match_node(pci_ids, node))843843+ break;844844+ }845845+ }846846+847847+ node = NULL;848848+ for_each_node_by_type(node, "pci") {849849+ if (of_match_node(pci_ids, node)) {850850+ /*851851+ * If there's no PCI host bridge with ISA, arbitrarily852852+ * designate one as primary. This can go away once853853+ * various bugs with primary-less systems are fixed.854854+ */855855+ if (!fsl_pci_primary)856856+ fsl_pci_primary = node;857857+858858+ fsl_add_bridge(node, fsl_pci_primary == node);859859+ hose = pci_find_hose_for_OF_device(node);860860+ max = min(max, hose->dma_window_base_cur +861861+ hose->dma_window_size);862862+ }863863+ }864864+865865+#ifdef CONFIG_SWIOTLB866866+ /*867867+ * if we couldn't map all of DRAM via the dma windows868868+ * we need SWIOTLB to handle buffers located outside of869869+ * dma capable memory region870870+ */871871+ if (memblock_end_of_DRAM() - 1 > max) {872872+ ppc_swiotlb_enable = 1;873873+ set_pci_dma_ops(&swiotlb_dma_ops);874874+ ppc_md.pci_dma_dev_setup = pci_dma_dev_setup_swiotlb;875875+ }876876+#endif877877+}878878+#endif
···12111211 if (of_get_property(node, "single-cpu-affinity", NULL))12121212 flags |= MPIC_SINGLE_DEST_CPU;12131213 if (of_device_is_compatible(node, "fsl,mpic"))12141214- flags |= MPIC_FSL;12141214+ flags |= MPIC_FSL | MPIC_LARGE_VECTORS;1215121512161216 mpic = kzalloc(sizeof(struct mpic), GFP_KERNEL);12171217 if (mpic == NULL)
+3
arch/powerpc/sysdev/qe_lib/qe.c
···395395396396 for (i = 0; i < be32_to_cpu(ucode->count); i++)397397 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i]));398398+399399+ /* Set I-RAM Ready Register */400400+ out_be32(&qe_immr->iram.iready, be32_to_cpu(QE_IRAM_READY));398401}399402400403/*
+4-4
drivers/watchdog/Kconfig
···11151115config BOOKE_WDT_DEFAULT_TIMEOUT11161116 int "PowerPC Book-E Watchdog Timer Default Timeout"11171117 depends on BOOKE_WDT11181118- default 38 if FSL_BOOKE11191119- range 0 63 if FSL_BOOKE11201120- default 3 if !FSL_BOOKE11211121- range 0 3 if !FSL_BOOKE11181118+ default 38 if PPC_FSL_BOOK3E11191119+ range 0 63 if PPC_FSL_BOOK3E11201120+ default 3 if !PPC_FSL_BOOK3E11211121+ range 0 3 if !PPC_FSL_BOOK3E11221122 help11231123 Select the default watchdog timer period to be used by the PowerPC11241124 Book-E watchdog driver. A watchdog "event" occurs when the bit
+2-2
drivers/watchdog/booke_wdt.c
···3737u32 booke_wdt_enabled;3838u32 booke_wdt_period = CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT;39394040-#ifdef CONFIG_FSL_BOOKE4040+#ifdef CONFIG_PPC_FSL_BOOK3E4141#define WDTP(x) ((((x)&0x3)<<30)|(((x)&0x3c)<<15))4242#define WDTP_MASK (WDTP(0x3f))4343#else···190190 case WDIOC_SETTIMEOUT:191191 if (get_user(tmp, p))192192 return -EFAULT;193193-#ifdef CONFIG_FSL_BOOKE193193+#ifdef CONFIG_PPC_FSL_BOOK3E194194 /* period of 1 gives the largest possible timeout */195195 if (tmp > period_to_sec(1))196196 return -EINVAL;