P1010RDB-PA and P1010RDB-PB boards use different external PHY interrupt signals. So make a new dts for P1010RDB-PB.
Signed-off-by: Shengzhou Liu <shengzhou....@freescale.com> Signed-off-by: Zhao Qiang <b45...@freescale.com> --- Changes for v2: -Remove phy interrupts for p1010rdb-pb Changes for v3 -Maintain the phy interrupts p1010rdb-pa and make a new device tree for p1010rdb-pb arch/powerpc/boot/dts/p1010rdb-pa.dtsi | 11 ++++++ arch/powerpc/boot/dts/p1010rdb-pb.dts | 67 +++++++++++++++++++++++++++++++++ arch/powerpc/boot/dts/p1010rdb-pb.dtsi | 11 ++++++ arch/powerpc/boot/dts/p1010rdb.dts | 1 + arch/powerpc/boot/dts/p1010rdb.dtsi | 3 -- arch/powerpc/boot/p1010rdb-pb.dtb | Bin 0 -> 14030 bytes arch/powerpc/boot/p1010rdb.dtb | Bin 0 -> 14030 bytes arch/powerpc/platforms/85xx/p1010rdb.c | 29 ++++++++++++++ 8 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 arch/powerpc/boot/dts/p1010rdb-pa.dtsi create mode 100644 arch/powerpc/boot/dts/p1010rdb-pb.dts create mode 100644 arch/powerpc/boot/dts/p1010rdb-pb.dtsi create mode 100644 arch/powerpc/boot/p1010rdb-pb.dtb create mode 100644 arch/powerpc/boot/p1010rdb.dtb diff --git a/arch/powerpc/boot/dts/p1010rdb-pa.dtsi b/arch/powerpc/boot/dts/p1010rdb-pa.dtsi new file mode 100644 index 0000000..122996e --- /dev/null +++ b/arch/powerpc/boot/dts/p1010rdb-pa.dtsi @@ -0,0 +1,11 @@ +&phy0 { + interrupts = <3 1 0 0>; +}; + +&phy1 { + interrupts = <2 1 0 0>; +}; + +&phy2 { + interrupts = <2 1 0 0>; +}; diff --git a/arch/powerpc/boot/dts/p1010rdb-pb.dts b/arch/powerpc/boot/dts/p1010rdb-pb.dts new file mode 100644 index 0000000..0213552 --- /dev/null +++ b/arch/powerpc/boot/dts/p1010rdb-pb.dts @@ -0,0 +1,67 @@ +/* + * P1010 RDB-PB Device Tree Source + * + * Copyright 2011 Freescale Semiconductor Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +/include/ "fsl/p1010si-pre.dtsi" + +/ { + model = "fsl,P1010RDB-PB"; + compatible = "fsl,P1010RDB-PB"; + + memory { + device_type = "memory"; + }; + + board_ifc: ifc: ifc@ffe1e000 { + /* NOR, NAND Flashes and CPLD on board */ + ranges = <0x0 0x0 0x0 0xee000000 0x02000000 + 0x1 0x0 0x0 0xff800000 0x00010000 + 0x3 0x0 0x0 0xffb00000 0x00000020>; + reg = <0x0 0xffe1e000 0 0x2000>; + }; + + board_soc: soc: soc@ffe00000 { + ranges = <0x0 0x0 0xffe00000 0x100000>; + }; + + pci0: pcie@ffe09000 { + reg = <0 0xffe09000 0 0x1000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 + 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + pcie@0 { + ranges = <0x2000000 0x0 0xa0000000 + 0x2000000 0x0 0xa0000000 + 0x0 0x20000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + }; + }; + + pci1: pcie@ffe0a000 { + reg = <0 0xffe0a000 0 0x1000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 + 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + pcie@0 { + ranges = <0x2000000 0x0 0x80000000 + 0x2000000 0x0 0x80000000 + 0x0 0x20000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + }; + }; +}; + +/include/ "p1010rdb.dtsi" +/include/ "p1010rdb-pb.dtsi" +/include/ "fsl/p1010si-post.dtsi" diff --git a/arch/powerpc/boot/dts/p1010rdb-pb.dtsi b/arch/powerpc/boot/dts/p1010rdb-pb.dtsi new file mode 100644 index 0000000..52cd22e --- /dev/null +++ b/arch/powerpc/boot/dts/p1010rdb-pb.dtsi @@ -0,0 +1,11 @@ +&phy0 { + interrupts = <0 1 0 0>; +}; + +&phy1 { + interrupts = <2 1 0 0>; +}; + +&phy2 { + interrupts = <1 1 0 0>; +}; diff --git a/arch/powerpc/boot/dts/p1010rdb.dts b/arch/powerpc/boot/dts/p1010rdb.dts index b868d22..0980ff0 100644 --- a/arch/powerpc/boot/dts/p1010rdb.dts +++ b/arch/powerpc/boot/dts/p1010rdb.dts @@ -63,4 +63,5 @@ }; /include/ "p1010rdb.dtsi" +/include/ "p1010rdb-pa.dtsi" /include/ "fsl/p1010si-post.dtsi" diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi index 7fc3402..2433ae4 100644 --- a/arch/powerpc/boot/dts/p1010rdb.dtsi +++ b/arch/powerpc/boot/dts/p1010rdb.dtsi @@ -199,17 +199,14 @@ mdio@24000 { phy0: ethernet-phy@0 { - interrupts = <3 1 0 0>; reg = <0x1>; }; phy1: ethernet-phy@1 { - interrupts = <2 1 0 0>; reg = <0x0>; }; phy2: ethernet-phy@2 { - interrupts = <2 1 0 0>; reg = <0x2>; }; diff --git a/arch/powerpc/boot/p1010rdb-pb.dtb b/arch/powerpc/boot/p1010rdb-pb.dtb new file mode 100644 index 0000000000000000000000000000000000000000..3d9865f45acf180ca5154948b43203701a0c247a GIT binary patch literal 14030 zcmeHO%a7zn8Mk|uM_95f?+{)c2BAR4v)w(9od7{*lMHM?$!0e}hzRX^+@2X{?QXB_ zo}Gz=Gzxz}76~M7?2!v7z=Z=s$uSp{Tf_x6JQWmB#3j7M@cVsLWmmg<COgSq5>k?< z>-*}f-}k8USLL$j*_;3SSI1fYmE$-ojx+y5{N9f1-MEh9LOJp&@H15(`|E0I2EQV^ zUL<p8x}9$4>^-NvGpE?hwj;QX;%Zs+tqmGF9O4<QlT)zVFdG$+VWHexaNX6L?<|mk zLLSQlxJ>;KtG;2?M^^oDtNt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<x$mjK}MI-qOnnm$d6<-m-l^88dH< ztnNDYW9F@qHI3|JuAA_kP!^Q&S`s<4LBG$h;Jh$OlERrS;>U2zBK3GsMtMHUN)O*{ zM1#^vhy5sV)Cbscf#bO-=hrG0XU(cdRy`=~mawpzqIp<RV@C5?YLlU@FvU7tix$}! zF~8n#(6*W)n_u5@(sbmNJ6YuPqpdiM&PzRyHk?7UU3y8h6(#DV$x+9*9sS#N%&YxQ zRjYYD2g#trKV1ihX&wIQI(abIz<1(R6bol97+mx&$Nh3s>(@jQtRb%WvajzA2g#0u zZ-u?}Ji?p8LAc{^FuZuskG7rudXeX{B=JinZ!k)6Y!YWhltdx+JmjUpw$&HkIw&9e z`FW0>gU?Gw+jAMtdHM)D*T1sx${{{aMk-U#Wr~-=d7+;A!(<p<^orpq4<k?MaRBOR z09JA0KY)5n1QlBK;@L=01?)VZZ=aVppM@wTryS$pt6@BYWI=c_Djg`rlSmqbo}Qi3 z3A->GHQ)Bu;u2Ds@}nmCX@KP+!-O{~g`=FQBRi|k!ez2Ij>QF%vE<g+E0Q6?tBxQM zK`?NaXj-Z~8;R$F5h59;{ccaX^PnQigL(#7$Cu7*H81qtwia)A(V&mF^7xi<uz^p; z@t+A^u)ZD-;&R8q7h5G}fw?2qh&Xum@Pe%%#tcFSJ>wYi&7kn|q72oLB69euCk={= cGPgv|G7BM8jWs@_`eu1E0&hm(|2G2v1J)fHaR2}S literal 0 HcmV?d00001 diff --git a/arch/powerpc/boot/p1010rdb.dtb b/arch/powerpc/boot/p1010rdb.dtb new file mode 100644 index 0000000000000000000000000000000000000000..435166cb47f2b3adf04fe9e10376f5737d795962 GIT binary patch literal 14030 zcmeHO%a7zn8Mk|uM_95f?+{)c2BAR4v)w(9od7{5kAV#++3Y3=5ushT+cV>=-R-sA zvon#9M&S=gkU-+b9=U)5TsR<<9CJarMO<LRQ$YbmT*6BXzu#9?cD1`_vy<#4Atkw8 z-&bG#zDIqovdivgZ~X6H9cT4dj^nI3&f*Voz7@y2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dZ>vur#cuj5v(5gM%MfJ&OZhaBw|nHG?8&d=v~ji-k-h&E ze^FEe?S8}L?H-&ldCNLW8;2bOyUzC4dEU~4DVNAZF?q}OgJewJ8d>Ss_%V5FWKA>s znBxX~CzJ(c+)pBBJ{S!66`U7FNm4lTMf@nXS)?8h%P7ysS?S@sjc8ap>1Yroj`{#Q zF0efp<@{R3;`FV0WYvSxZV3ykDO!XTHD<J!r8XJb3RA4ZwP=w|5Q`gw25qY;vc-*U zCr!s*xtm4KAli<@=$zE^Xww-+JEfOI+fkx+njE!#+tKH)V_xlds#?wKIhYJO{OLN_ zOzZHc>*T?36W@tfQ7oK(FudShiU;ME)~|^q=p(N9vTxvxhRLpjZ-u>$Ji?p8VYusX zFuZs;h<2R8Mv>>TB=JinZ#Yh|Z4zfiltdx!dB{tH9jh<Cbx=MI@^c(L2cMUWcNQ}2 z^9&Gnu773Wl_PwfjL+8<beZC%a9*gV{xBJZ7rbIL&cn!4dK`dy8h};o_z$5TiJ(HO zUOXEKs(_v6@||<?=Ccr`<dhQ}d^L<`kSqu<M5P0zcoIp2(9_u|op2XsqvktaKQ1Aa zDL-nGp9WYSGE8`*QaH+)I<oU>FI<wnu`Mo;j3sZ4y&@SQylM*)5d;HQiKeB>y^(k! z7$cHlI_UPKJ2xt#Jg76k+P-w=tGv)xTR-0PqTv8<<?$`!a1)=5<DUs$u(1&j<8s%* z7h5H=z+91PL>xSOc)@lMBZJUEXB<Pm6%<}xl%X0@L=Io|q(N~(a!ceavk*enSmQIQ PZ<aSB@MZ-5e<Sce9HbcW literal 0 HcmV?d00001 diff --git a/arch/powerpc/platforms/85xx/p1010rdb.c b/arch/powerpc/platforms/85xx/p1010rdb.c index 0252961..7d9eab7 100644 --- a/arch/powerpc/platforms/85xx/p1010rdb.c +++ b/arch/powerpc/platforms/85xx/p1010rdb.c @@ -82,3 +82,32 @@ define_machine(p1010_rdb) { .calibrate_decr = generic_calibrate_decr, .progress = udbg_progress, }; + +machine_arch_initcall(p1010_rdb_pb, mpc85xx_common_publish_devices); +machine_arch_initcall(p1010_rdb_pb, swiotlb_setup_bus_notifier); + +/* + * Called very early, device-tree isn't unflattened + */ +static int __init p1010_rdb_pb_probe(void) +{ + unsigned long root = of_get_flat_dt_root(); + + if (of_flat_dt_is_compatible(root, "fsl,P1010RDB-PB")) + return 1; + return 0; +} + +define_machine(p1010_rdb_pb) { + .name = "P1010 RDB-PB", + .probe = p1010_rdb_pb_probe, + .setup_arch = p1010_rdb_setup_arch, + .init_IRQ = p1010_rdb_pic_init, +#ifdef CONFIG_PCI + .pcibios_fixup_bus = fsl_pcibios_fixup_bus, +#endif + .get_irq = mpic_get_irq, + .restart = fsl_rstcr_restart, + .calibrate_decr = generic_calibrate_decr, + .progress = udbg_progress, +}; -- 1.8.0 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev