* [PATCH 0/4] Add support for DPAA on T1023RDB and T1024RDB @ 2015-05-20 12:41 Madalin Bucur 2015-05-20 12:41 ` [PATCH 1/4] powerpc/fsl-booke: Add T1023RDB QBMan device tree Madalin Bucur 0 siblings, 1 reply; 6+ messages in thread From: Madalin Bucur @ 2015-05-20 12:41 UTC (permalink / raw) To: linuxppc-dev, scottwood; +Cc: Igal.Liberman, roy.pledge, Madalin Bucur These patches depend upon several other patches that are now in review: [1] powerpc/mpc85xx: Add DPAA Ethernet QMan support to the device tree(s) [2] powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA FMan [3] powerpc/fsl-booke: Add T1023 RDB board support [3] powerpc/fsl-booke: Add T1024 RDB board support [3] powerpc/fsl-booke: Add T1024 QDS board support [3] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC Current patchwork links: [1] https://patchwork.ozlabs.org/patch/474402/ [2] https://patchwork.ozlabs.org/patch/443974/ [3] http://patchwork.ozlabs.org/project/linuxppc-dev/list/?=shengzhou&submitter=8045 Madalin Bucur (4): powerpc/fsl-booke: Add T1023RDB QBMan device tree components powerpc/fsl-booke: Add T1023RDB FMan device tree components powerpc/fsl-booke: Add T1024RDB QBMan device tree components powerpc/fsl-booke: Add T1024RDB FMan device tree components arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi | 94 ++++++++++++++++++ arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 136 ++++++++++++++++++++++++++ arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi | 6 ++ arch/powerpc/boot/dts/t1023rdb.dts | 69 +++++++++++++ arch/powerpc/boot/dts/t1024rdb.dts | 73 ++++++++++++++ 5 files changed, 378 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi -- 1.7.11.7 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/4] powerpc/fsl-booke: Add T1023RDB QBMan device tree 2015-05-20 12:41 [PATCH 0/4] Add support for DPAA on T1023RDB and T1024RDB Madalin Bucur @ 2015-05-20 12:41 ` Madalin Bucur 2015-05-20 12:41 ` [PATCH 2/4] powerpc/fsl-booke: Add T1023RDB FMan " Madalin Bucur 0 siblings, 1 reply; 6+ messages in thread From: Madalin Bucur @ 2015-05-20 12:41 UTC (permalink / raw) To: linuxppc-dev, scottwood; +Cc: Igal.Liberman, roy.pledge, Madalin Bucur Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 109 ++++++++++++++++++++++++++++ arch/powerpc/boot/dts/t1023rdb.dts | 29 ++++++++ 2 files changed, 138 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi index dbe6578..48c1690 100644 --- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi @@ -32,6 +32,21 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +&bman_fbpr { + compatible = "fsl,bman-fbpr"; + alloc-ranges = <0 0 0x10000 0>; +}; + +&qman_fqd { + compatible = "fsl,qman-fqd"; + alloc-ranges = <0 0 0x10000 0>; +}; + +&qman_pfdr { + compatible = "fsl,qman-pfdr"; + alloc-ranges = <0 0 0x10000 0>; +}; + &ifc { #address-cells = <2>; #size-cells = <1>; @@ -178,6 +193,98 @@ }; }; +&bportals { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "simple-bus"; + + bman-portal@0 { + cell-index = <0x0>; + compatible = "fsl,bman-portal"; + reg = <0x0 0x4000>, <0x1000000 0x1000>; + interrupts = <105 2 0 0>; + }; + bman-portal@4000 { + cell-index = <0x1>; + compatible = "fsl,bman-portal"; + reg = <0x4000 0x4000>, <0x1001000 0x1000>; + interrupts = <107 2 0 0>; + }; + bman-portal@8000 { + cell-index = <2>; + compatible = "fsl,bman-portal"; + reg = <0x8000 0x4000>, <0x1002000 0x1000>; + interrupts = <109 2 0 0>; + }; + bman-portal@c000 { + cell-index = <0x3>; + compatible = "fsl,bman-portal"; + reg = <0xc000 0x4000>, <0x1003000 0x1000>; + interrupts = <111 2 0 0>; + }; + bman-portal@10000 { + cell-index = <0x4>; + compatible = "fsl,bman-portal"; + reg = <0x10000 0x4000>, <0x1004000 0x1000>; + interrupts = <113 2 0 0>; + }; + bman-portal@14000 { + cell-index = <0x5>; + compatible = "fsl,bman-portal"; + reg = <0x14000 0x4000>, <0x1005000 0x1000>; + interrupts = <115 2 0 0>; + }; +}; + +&qportals { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "simple-bus"; + + qportal0: qman-portal@0 { + cell-index = <0x0>; + compatible = "fsl,qman-portal"; + reg = <0x0 0x4000>, <0x1000000 0x1000>; + interrupts = <104 0x2 0 0>; + fsl,qman-channel-id = <0x0>; + }; + qportal1: qman-portal@4000 { + cell-index = <0x1>; + compatible = "fsl,qman-portal"; + reg = <0x4000 0x4000>, <0x1001000 0x1000>; + interrupts = <106 0x2 0 0>; + fsl,qman-channel-id = <0x1>; + }; + qportal2: qman-portal@8000 { + cell-index = <0x2>; + compatible = "fsl,qman-portal"; + reg = <0x8000 0x4000>, <0x1002000 0x1000>; + interrupts = <108 0x2 0 0>; + fsl,qman-channel-id = <0x2>; + }; + qportal3: qman-portal@c000 { + cell-index = <0x3>; + compatible = "fsl,qman-portal"; + reg = <0xc000 0x4000>, <0x1003000 0x1000>; + interrupts = <110 0x2 0 0>; + fsl,qman-channel-id = <0x3>; + }; + qportal4: qman-portal@10000 { + cell-index = <0x4>; + compatible = "fsl,qman-portal"; + reg = <0x10000 0x4000>, <0x1004000 0x1000>; + interrupts = <112 0x2 0 0>; + fsl,qman-channel-id = <0x4>; + }; + qportal5: qman-portal@14000 { + cell-index = <0x5>; + compatible = "fsl,qman-portal"; + reg = <0x14000 0x4000>, <0x1005000 0x1000>; + interrupts = <114 0x2 0 0>; + fsl,qman-channel-id = <0x5>; + }; +}; + &soc { #address-cells = <1>; #size-cells = <1>; @@ -327,4 +434,6 @@ sata@220000 { }; /include/ "qoriq-sec5.0-0.dtsi" +/include/ "qoriq-qman3.dtsi" +/include/ "qoriq-bman1.dtsi" }; diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts index 3780e68..571e070 100644 --- a/arch/powerpc/boot/dts/t1023rdb.dts +++ b/arch/powerpc/boot/dts/t1023rdb.dts @@ -41,6 +41,25 @@ #size-cells = <2>; interrupt-parent = <&mpic>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + bman_fbpr: bman-fbpr { + size = <0 0x1000000>; + alignment = <0 0x1000000>; + }; + qman_fqd: qman-fqd { + size = <0 0x400000>; + alignment = <0 0x400000>; + }; + qman_pfdr: qman-pfdr { + size = <0 0x2000000>; + alignment = <0 0x2000000>; + }; + }; + ifc: localbus@ffe124000 { reg = <0xf 0xfe124000 0 0x2000>; ranges = <0 0 0xf 0xe8000000 0x08000000 @@ -72,6 +91,14 @@ ranges = <0x00000000 0xf 0x00000000 0x01072000>; }; + bportals: bman-portals@ff4000000 { + ranges = <0x0 0xf 0xf4000000 0x2000000>; + }; + + qportals: qman-portals@ff6000000 { + ranges = <0x0 0xf 0xf6000000 0x2000000>; + }; + soc: soc@ffe000000 { ranges = <0x00000000 0xf 0xfe000000 0x1000000>; reg = <0xf 0xfe000000 0 0x00001000>; @@ -100,6 +127,7 @@ i2c@118100 { }; + }; pci0: pcie@ffe240000 { @@ -149,3 +177,4 @@ }; /include/ "fsl/t1023si-post.dtsi" +/include/ "fsl/qoriq-dpaa-res3.dtsi" -- 1.7.11.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/4] powerpc/fsl-booke: Add T1023RDB FMan device tree 2015-05-20 12:41 ` [PATCH 1/4] powerpc/fsl-booke: Add T1023RDB QBMan device tree Madalin Bucur @ 2015-05-20 12:41 ` Madalin Bucur 2015-05-20 12:41 ` [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB QBMan " Madalin Bucur 2015-05-29 1:06 ` [2/4] powerpc/fsl-booke: Add T1023RDB " Scott Wood 0 siblings, 2 replies; 6+ messages in thread From: Madalin Bucur @ 2015-05-20 12:41 UTC (permalink / raw) To: linuxppc-dev, scottwood; +Cc: Igal.Liberman, roy.pledge, Madalin Bucur Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> --- arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi | 94 +++++++++++++++++++++++++++ arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 27 ++++++++ arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi | 6 ++ arch/powerpc/boot/dts/t1023rdb.dts | 40 ++++++++++++ 4 files changed, 167 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi new file mode 100644 index 0000000..8e9e272 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi @@ -0,0 +1,94 @@ +/* + * QorIQ FMan v3 device tree stub [ controller @ offset 0x400000 ] + * + * Copyright 2012 - 2015 Freescale Semiconductor Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Freescale Semiconductor nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * + * ALTERNATIVELY, this software may be distributed under the terms of the + * GNU General Public License ("GPL") as published by the Free Software + * Foundation, either version 2 of that License or (at your option) any + * later version. + * + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +fman0: fman@400000 { + #address-cells = <1>; + #size-cells = <1>; + cell-index = <0>; + compatible = "fsl,fman"; + ranges = <0 0x400000 0x100000>; + reg = <0x400000 0x100000>; + interrupts = <96 2 0 0>, <16 2 1 1>; + clocks = <&fm0clk>; + clock-names = "fm0clk"; + fsl,qman-channel-range = <0x800 0x10>; + + muram@0 { + compatible = "fsl,fman-muram"; + reg = <0x0 0x30000>; + }; + + fman0_oh_0x2: port@82000 { + cell-index = <0x2>; + compatible = "fsl,fman-v3-port-oh"; + reg = <0x82000 0x1000>; + }; + + fman0_oh_0x3: port@83000 { + cell-index = <0x3>; + compatible = "fsl,fman-v3-port-oh"; + reg = <0x83000 0x1000>; + }; + + fman0_oh_0x4: port@84000 { + cell-index = <0x4>; + compatible = "fsl,fman-v3-port-oh"; + reg = <0x84000 0x1000>; + }; + + fman0_oh_0x5: port@85000 { + cell-index = <0x5>; + compatible = "fsl,fman-v3-port-oh"; + reg = <0x85000 0x1000>; + }; + + mdio0: mdio@fc000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; + reg = <0xfc000 0x1000>; + }; + + xmdio0: mdio@fd000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; + reg = <0xfd000 0x1000>; + }; + + ptp_timer0: ptp-timer@fe000 { + compatible = "fsl,fman-ptp-timer"; + reg = <0xfe000 0x1000>; + }; +}; diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi index 48c1690..a6eb7ae 100644 --- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi @@ -344,6 +344,14 @@ reg = <0xe0000 0xe00>; fsl,has-rstcr; fsl,liodn-bits = <12>; + + fm0clk: fm0-clk-mux { + #clock-cells = <0>; + compatible = "fsl,fman-clk-mux"; + clocks = <&pll0 1>; + clock-names = "pll0-div2"; + clock-output-names = "fm0-clk"; + }; }; /include/ "qoriq-clockgen2.dtsi" @@ -436,4 +444,23 @@ sata@220000 { /include/ "qoriq-sec5.0-0.dtsi" /include/ "qoriq-qman3.dtsi" /include/ "qoriq-bman1.dtsi" + +/include/ "qoriq-fman3l-0.dtsi" +/include/ "qoriq-fman3-0-1g-0.dtsi" +/include/ "qoriq-fman3-0-1g-1.dtsi" +/include/ "qoriq-fman3-0-1g-2.dtsi" +/include/ "qoriq-fman3-0-1g-3.dtsi" + fman@400000 { + enet0: ethernet@e0000 { + }; + + enet1: ethernet@e2000 { + }; + + enet2: ethernet@e4000 { + }; + + enet3: ethernet@e6000 { + }; + }; }; diff --git a/arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi b/arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi index 1f1a9f8..3e1528a 100644 --- a/arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi +++ b/arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi @@ -59,6 +59,12 @@ sdhc = &sdhc; crypto = &crypto; + + fman0 = &fman0; + ethernet0 = &enet0; + ethernet1 = &enet1; + ethernet2 = &enet2; + ethernet3 = &enet3; }; cpus { diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts index 571e070..146d30d 100644 --- a/arch/powerpc/boot/dts/t1023rdb.dts +++ b/arch/powerpc/boot/dts/t1023rdb.dts @@ -128,6 +128,46 @@ i2c@118100 { }; + fman@400000 { + fm1mac1: ethernet@e0000 { + phy-handle = <&sgmii_rtk_phy2>; + phy-connection-type = "sgmii"; + sleep = <&rcpm 0x80000000>; + }; + + fm1mac2: ethernet@e2000 { + sleep = <&rcpm 0x40000000>; + }; + + fm1mac3: ethernet@e4000 { + phy-handle = <&sgmii_aqr_phy3>; + phy-connection-type = "sgmii-2500"; + sleep = <&rcpm 0x20000000>; + }; + + fm1mac4: ethernet@e6000 { + phy-handle = <&rgmii_rtk_phy1>; + phy-connection-type = "rgmii"; + sleep = <&rcpm 0x10000000>; + }; + + + mdio0: mdio@fc000 { + rgmii_rtk_phy1: ethernet-phy@1 { + reg = <0x1>; + }; + sgmii_rtk_phy2: ethernet-phy@3 { + reg = <0x3>; + }; + }; + + xmdio0: mdio@fd000 { + sgmii_aqr_phy3: ethernet-phy@2 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x2>; + }; + }; + }; }; pci0: pcie@ffe240000 { -- 1.7.11.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB QBMan device tree 2015-05-20 12:41 ` [PATCH 2/4] powerpc/fsl-booke: Add T1023RDB FMan " Madalin Bucur @ 2015-05-20 12:41 ` Madalin Bucur 2015-05-20 12:41 ` [PATCH 4/4] powerpc/fsl-booke: Add T1024RDB FMan " Madalin Bucur 2015-05-29 1:06 ` [2/4] powerpc/fsl-booke: Add T1023RDB " Scott Wood 1 sibling, 1 reply; 6+ messages in thread From: Madalin Bucur @ 2015-05-20 12:41 UTC (permalink / raw) To: linuxppc-dev, scottwood; +Cc: Igal.Liberman, roy.pledge, Madalin Bucur Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> --- arch/powerpc/boot/dts/t1024rdb.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts index eb1d51b..0984ae8 100644 --- a/arch/powerpc/boot/dts/t1024rdb.dts +++ b/arch/powerpc/boot/dts/t1024rdb.dts @@ -41,6 +41,25 @@ #size-cells = <2>; interrupt-parent = <&mpic>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + bman_fbpr: bman-fbpr { + size = <0 0x1000000>; + alignment = <0 0x1000000>; + }; + qman_fqd: qman-fqd { + size = <0 0x400000>; + alignment = <0 0x400000>; + }; + qman_pfdr: qman-pfdr { + size = <0 0x2000000>; + alignment = <0 0x2000000>; + }; + }; + ifc: localbus@ffe124000 { reg = <0xf 0xfe124000 0 0x2000>; ranges = <0 0 0xf 0xe8000000 0x08000000 @@ -82,6 +101,14 @@ ranges = <0x00000000 0xf 0x00000000 0x01072000>; }; + bportals: bman-portals@ff4000000 { + ranges = <0x0 0xf 0xf4000000 0x2000000>; + }; + + qportals: qman-portals@ff6000000 { + ranges = <0x0 0xf 0xf6000000 0x2000000>; + }; + soc: soc@ffe000000 { ranges = <0x00000000 0xf 0xfe000000 0x1000000>; reg = <0xf 0xfe000000 0 0x00001000>; @@ -183,3 +210,4 @@ }; /include/ "fsl/t1024si-post.dtsi" +/include/ "fsl/qoriq-dpaa-res3.dtsi" -- 1.7.11.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/4] powerpc/fsl-booke: Add T1024RDB FMan device tree 2015-05-20 12:41 ` [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB QBMan " Madalin Bucur @ 2015-05-20 12:41 ` Madalin Bucur 0 siblings, 0 replies; 6+ messages in thread From: Madalin Bucur @ 2015-05-20 12:41 UTC (permalink / raw) To: linuxppc-dev, scottwood; +Cc: Igal.Liberman, roy.pledge, Madalin Bucur Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> --- arch/powerpc/boot/dts/t1024rdb.dts | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts index 0984ae8..860e4c7 100644 --- a/arch/powerpc/boot/dts/t1024rdb.dts +++ b/arch/powerpc/boot/dts/t1024rdb.dts @@ -161,6 +161,51 @@ #size-cells = <0>; }; }; + + fman@400000 { + fm1mac1: ethernet@e0000 { + phy-handle = <&xg_aqr105_phy3>; + phy-connection-type = "xgmii"; + sleep = <&rcpm 0x80000000>; + }; + + fm1mac2: ethernet@e2000 { + sleep = <&rcpm 0x40000000>; + }; + + fm1mac3: ethernet@e4000 { + phy-handle = <&rgmii_phy2>; + phy-connection-type = "rgmii"; + sleep = <&rcpm 0x20000000>; + }; + + fm1mac4: ethernet@e6000 { + phy-handle = <&rgmii_phy1>; + phy-connection-type = "rgmii"; + sleep = <&rcpm 0x10000000>; + }; + + + mdio0: mdio@fc000 { + rgmii_phy1: ethernet-phy@2 { + reg = <0x2>; + }; + rgmii_phy2: ethernet-phy@6 { + reg = <0x6>; + }; + }; + + xmdio0: mdio@fd000 { + xg_aqr105_phy3: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x1>; + }; + sg_2500_aqr105_phy4: ethernet-phy@2 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x2>; + }; + }; + }; }; pci0: pcie@ffe240000 { -- 1.7.11.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [2/4] powerpc/fsl-booke: Add T1023RDB FMan device tree 2015-05-20 12:41 ` [PATCH 2/4] powerpc/fsl-booke: Add T1023RDB FMan " Madalin Bucur 2015-05-20 12:41 ` [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB QBMan " Madalin Bucur @ 2015-05-29 1:06 ` Scott Wood 1 sibling, 0 replies; 6+ messages in thread From: Scott Wood @ 2015-05-29 1:06 UTC (permalink / raw) To: Madalin Bucur; +Cc: linuxppc-dev, Igal.Liberman, roy.pledge On Wed, May 20, 2015 at 03:41:38PM +0300, Madalin Bucur wrote: > diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > index 48c1690..a6eb7ae 100644 > --- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > +++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > @@ -344,6 +344,14 @@ > reg = <0xe0000 0xe00>; > fsl,has-rstcr; > fsl,liodn-bits = <12>; > + > + fm0clk: fm0-clk-mux { > + #clock-cells = <0>; > + compatible = "fsl,fman-clk-mux"; > + clocks = <&pll0 1>; > + clock-names = "pll0-div2"; > + clock-output-names = "fm0-clk"; > + }; > }; NACK as previously discussed. > diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts > index 571e070..146d30d 100644 > --- a/arch/powerpc/boot/dts/t1023rdb.dts > +++ b/arch/powerpc/boot/dts/t1023rdb.dts > @@ -128,6 +128,46 @@ > i2c@118100 { > }; > > + fman@400000 { > + fm1mac1: ethernet@e0000 { > + phy-handle = <&sgmii_rtk_phy2>; > + phy-connection-type = "sgmii"; > + sleep = <&rcpm 0x80000000>; > + }; Get rid of this sleep stuff. It's an unfinished thing that nothing uses but people have copied all over the place. The binding for it only covers pmc nodes compatible with mpc8349, mpc8536, and mpc8548. The right way to handle this is with a "clocks" property. -Scott ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-29 1:07 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-20 12:41 [PATCH 0/4] Add support for DPAA on T1023RDB and T1024RDB Madalin Bucur 2015-05-20 12:41 ` [PATCH 1/4] powerpc/fsl-booke: Add T1023RDB QBMan device tree Madalin Bucur 2015-05-20 12:41 ` [PATCH 2/4] powerpc/fsl-booke: Add T1023RDB FMan " Madalin Bucur 2015-05-20 12:41 ` [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB QBMan " Madalin Bucur 2015-05-20 12:41 ` [PATCH 4/4] powerpc/fsl-booke: Add T1024RDB FMan " Madalin Bucur 2015-05-29 1:06 ` [2/4] powerpc/fsl-booke: Add T1023RDB " Scott Wood
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).