| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626 |
- From 7f3b260e937238632e523306089e856d0db1a4f9 Mon Sep 17 00:00:00 2001
- From: Li Yang <[email protected]>
- Date: Fri, 5 Oct 2018 18:03:25 -0500
- Subject: [PATCH] sdk: arm64: dts: add DPAA1 SDK flavor dts files
- Signed-off-by: Camelia Groza <[email protected]>
- Signed-off-by: Madalin Bucur <[email protected]>
- Signed-off-by: Iordache Florinel-R70177 <[email protected]>
- Signed-off-by: Roy Pledge <[email protected]>
- Signed-off-by: Li Yang <[email protected]>
- ---
- arch/arm64/boot/dts/freescale/Makefile | 6 ++
- .../boot/dts/freescale/fsl-ls1043a-qds-sdk.dts | 71 +++++++++++++
- .../boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts | 71 +++++++++++++
- .../boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 117 +++++++++++++++++++++
- .../boot/dts/freescale/fsl-ls1046a-qds-sdk.dts | 79 ++++++++++++++
- .../boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts | 115 ++++++++++++++++++++
- .../boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 110 +++++++++++++++++++
- 7 files changed, 569 insertions(+)
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
- create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
- --- a/arch/arm64/boot/dts/freescale/Makefile
- +++ b/arch/arm64/boot/dts/freescale/Makefile
- @@ -7,10 +7,16 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds-sdk.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-sdk.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-usdpaa.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds-sdk.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-sdk.dtb
- +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-usdpaa.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
- dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
- @@ -0,0 +1,71 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
- + *
- + * Copyright 2014-2015 Freescale Semiconductor, Inc.
- + *
- + * Mingkai Hu <[email protected]>
- + *
- + * This file is dual-licensed: you can use it either under the terms
- + * of the GPLv2 or the X11 license, at your option. Note that this dual
- + * licensing only applies to this file, and not this project as a
- + * whole.
- + *
- + * a) This library 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.
- + *
- + * This library is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * Or, alternatively,
- + *
- + * b) Permission is hereby granted, free of charge, to any person
- + * obtaining a copy of this software and associated documentation
- + * files (the "Software"), to deal in the Software without
- + * restriction, including without limitation the rights to use,
- + * copy, modify, merge, publish, distribute, sublicense, and/or
- + * sell copies of the Software, and to permit persons to whom the
- + * Software is furnished to do so, subject to the following
- + * conditions:
- + *
- + * The above copyright notice and this permission notice shall be
- + * included in all copies or substantial portions of the Software.
- + *
- + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- + * OTHER DEALINGS IN THE SOFTWARE.
- + */
- +
- +#include "fsl-ls1043a-qds.dts"
- +#include "qoriq-qman-portals-sdk.dtsi"
- +#include "qoriq-bman-portals-sdk.dtsi"
- +
- +&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>;
- +};
- +
- +&soc {
- +#include "qoriq-dpaa-eth.dtsi"
- +#include "qoriq-fman3-0-6oh.dtsi"
- +};
- +
- +&fman0 {
- + compatible = "fsl,fman", "simple-bus";
- +};
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
- @@ -0,0 +1,71 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
- + *
- + * Copyright 2014-2015 Freescale Semiconductor, Inc.
- + *
- + * Mingkai Hu <[email protected]>
- + *
- + * This file is dual-licensed: you can use it either under the terms
- + * of the GPLv2 or the X11 license, at your option. Note that this dual
- + * licensing only applies to this file, and not this project as a
- + * whole.
- + *
- + * a) This library 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.
- + *
- + * This library is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * Or, alternatively,
- + *
- + * b) Permission is hereby granted, free of charge, to any person
- + * obtaining a copy of this software and associated documentation
- + * files (the "Software"), to deal in the Software without
- + * restriction, including without limitation the rights to use,
- + * copy, modify, merge, publish, distribute, sublicense, and/or
- + * sell copies of the Software, and to permit persons to whom the
- + * Software is furnished to do so, subject to the following
- + * conditions:
- + *
- + * The above copyright notice and this permission notice shall be
- + * included in all copies or substantial portions of the Software.
- + *
- + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- + * OTHER DEALINGS IN THE SOFTWARE.
- + */
- +
- +#include "fsl-ls1043a-rdb.dts"
- +#include "qoriq-qman-portals-sdk.dtsi"
- +#include "qoriq-bman-portals-sdk.dtsi"
- +
- +&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>;
- +};
- +
- +&soc {
- +#include "qoriq-dpaa-eth.dtsi"
- +#include "qoriq-fman3-0-6oh.dtsi"
- +};
- +
- +&fman0 {
- + compatible = "fsl,fman", "simple-bus";
- +};
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
- @@ -0,0 +1,117 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
- + *
- + * Copyright (C) 2014-2015, Freescale Semiconductor
- + *
- + * This file is licensed under the terms of the GNU General Public
- + * License version 2. This program is licensed "as is" without any
- + * warranty of any kind, whether express or implied.
- + */
- +
- +#include "fsl-ls1043a-rdb-sdk.dts"
- +
- +&soc {
- + bp7: buffer-pool@7 {
- + compatible = "fsl,p4080-bpool", "fsl,bpool";
- + fsl,bpid = <7>;
- + fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
- + fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
- + };
- +
- + bp8: buffer-pool@8 {
- + compatible = "fsl,p4080-bpool", "fsl,bpool";
- + fsl,bpid = <8>;
- + fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
- + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
- + };
- +
- + bp9: buffer-pool@9 {
- + compatible = "fsl,p4080-bpool", "fsl,bpool";
- + fsl,bpid = <9>;
- + fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
- + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
- + };
- +
- + fsl,dpaa {
- + compatible = "fsl,ls1043a", "fsl,dpaa", "simple-bus";
- +
- + ethernet@0 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
- + fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
- + };
- +
- + ethernet@1 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x52 1 0x53 1>;
- + fsl,qman-frame-queues-tx = <0x72 1 0x73 1>;
- + };
- +
- + ethernet@2 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
- + fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
- + };
- +
- + ethernet@3 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
- + fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
- + };
- +
- + ethernet@4 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
- + fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
- + };
- +
- + ethernet@5 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x60 1 0x61 1>;
- + fsl,qman-frame-queues-tx = <0x80 1 0x81 1>;
- + };
- +
- + ethernet@8 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
- + fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
- +
- + };
- + dpa-fman0-oh@2 {
- + compatible = "fsl,dpa-oh";
- + /* Define frame queues for the OH port*/
- + /* <OH Rx error, OH Rx default> */
- + fsl,qman-frame-queues-oh = <0x5a 1 0x5b 1>;
- + fsl,fman-oh-port = <&fman0_oh2>;
- + };
- + };
- +};
- +/ {
- + reserved-memory {
- + #address-cells = <2>;
- + #size-cells = <2>;
- + ranges;
- +
- + usdpaa_mem: usdpaa_mem {
- + compatible = "fsl,usdpaa-mem";
- + alloc-ranges = <0 0 0x10000 0>;
- + size = <0 0x10000000>;
- + alignment = <0 0x10000000>;
- + };
- + };
- +};
- +
- +&fman0 {
- + fman0_oh2: port@83000 {
- + cell-index = <1>;
- + compatible = "fsl,fman-port-oh";
- + reg = <0x83000 0x1000>;
- + };
- +};
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
- @@ -0,0 +1,79 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
- + *
- + * Copyright 2014-2015 Freescale Semiconductor, Inc.
- + *
- + * Mingkai Hu <[email protected]>
- + *
- + * This file is dual-licensed: you can use it either under the terms
- + * of the GPLv2 or the X11 license, at your option. Note that this dual
- + * licensing only applies to this file, and not this project as a
- + * whole.
- + *
- + * a) This library 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.
- + *
- + * This library is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * Or, alternatively,
- + *
- + * b) Permission is hereby granted, free of charge, to any person
- + * obtaining a copy of this software and associated documentation
- + * files (the "Software"), to deal in the Software without
- + * restriction, including without limitation the rights to use,
- + * copy, modify, merge, publish, distribute, sublicense, and/or
- + * sell copies of the Software, and to permit persons to whom the
- + * Software is furnished to do so, subject to the following
- + * conditions:
- + *
- + * The above copyright notice and this permission notice shall be
- + * included in all copies or substantial portions of the Software.
- + *
- + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- + * OTHER DEALINGS IN THE SOFTWARE.
- + */
- +
- +#include "fsl-ls1046a-qds.dts"
- +#include "qoriq-qman-portals-sdk.dtsi"
- +#include "qoriq-bman-portals-sdk.dtsi"
- +
- +&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>;
- +};
- +
- +&soc {
- +#include "qoriq-dpaa-eth.dtsi"
- +#include "qoriq-fman3-0-6oh.dtsi"
- +};
- +
- +&fsldpaa {
- + ethernet@9 {
- + compatible = "fsl,dpa-ethernet";
- + fsl,fman-mac = <&enet7>;
- + dma-coherent;
- + };
- +};
- +
- +&fman0 {
- + compatible = "fsl,fman", "simple-bus";
- +};
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
- @@ -0,0 +1,115 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
- + *
- + * Copyright 2014-2015 Freescale Semiconductor, Inc.
- + *
- + * Mingkai Hu <[email protected]>
- + *
- + * This file is dual-licensed: you can use it either under the terms
- + * of the GPLv2 or the X11 license, at your option. Note that this dual
- + * licensing only applies to this file, and not this project as a
- + * whole.
- + *
- + * a) This library 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.
- + *
- + * This library is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * Or, alternatively,
- + *
- + * b) Permission is hereby granted, free of charge, to any person
- + * obtaining a copy of this software and associated documentation
- + * files (the "Software"), to deal in the Software without
- + * restriction, including without limitation the rights to use,
- + * copy, modify, merge, publish, distribute, sublicense, and/or
- + * sell copies of the Software, and to permit persons to whom the
- + * Software is furnished to do so, subject to the following
- + * conditions:
- + *
- + * The above copyright notice and this permission notice shall be
- + * included in all copies or substantial portions of the Software.
- + *
- + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- + * OTHER DEALINGS IN THE SOFTWARE.
- + */
- +
- +#include "fsl-ls1046a-rdb.dts"
- +#include "qoriq-qman-portals-sdk.dtsi"
- +#include "qoriq-bman-portals-sdk.dtsi"
- +
- +&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>;
- +};
- +
- +&soc {
- +#include "qoriq-dpaa-eth.dtsi"
- +#include "qoriq-fman3-0-6oh.dtsi"
- +};
- +
- +&fsldpaa {
- + ethernet@0 {
- + status = "disabled";
- + };
- + ethernet@1 {
- + status = "disabled";
- + };
- + ethernet@9 {
- + compatible = "fsl,dpa-ethernet";
- + fsl,fman-mac = <&enet7>;
- + dma-coherent;
- + };
- +};
- +
- +&fman0 {
- + compatible = "fsl,fman", "simple-bus";
- +};
- +
- +&mdio9 {
- + pcsphy6: ethernet-phy@0 {
- + backplane-mode = "10gbase-kr";
- + compatible = "ethernet-phy-ieee802.3-c45";
- + reg = <0x0>;
- + fsl,lane-handle = <&serdes1>;
- + fsl,lane-reg = <0x8C0 0x40>; /* lane D */
- + };
- +};
- +
- +&mdio10 {
- + pcsphy7: ethernet-phy@0 {
- + backplane-mode = "10gbase-kr";
- + compatible = "ethernet-phy-ieee802.3-c45";
- + reg = <0x0>;
- + fsl,lane-handle = <&serdes1>;
- + fsl,lane-reg = <0x880 0x40>; /* lane C */
- + };
- +};
- +
- +/* Update MAC connections to backplane PHYs
- + * &mac9 {
- + * phy-handle = <&pcsphy6>;
- + *};
- + *
- + *&mac10 {
- + * phy-handle = <&pcsphy7>;
- + *};
- +*/
- --- /dev/null
- +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
- @@ -0,0 +1,110 @@
- +/*
- + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
- + *
- + * Copyright (C) 2016, Freescale Semiconductor
- + *
- + * This file is licensed under the terms of the GNU General Public
- + * License version 2. This program is licensed "as is" without any
- + * warranty of any kind, whether express or implied.
- + */
- +
- +#include "fsl-ls1046a-rdb-sdk.dts"
- +
- +&soc {
- + bp7: buffer-pool@7 {
- + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
- + fsl,bpid = <7>;
- + fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
- + fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
- + };
- +
- + bp8: buffer-pool@8 {
- + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
- + fsl,bpid = <8>;
- + fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
- + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
- + };
- +
- + bp9: buffer-pool@9 {
- + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
- + fsl,bpid = <9>;
- + fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
- + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
- + };
- +
- + fsl,dpaa {
- + compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
- +
- + ethernet@2 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
- + fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
- + };
- +
- + ethernet@3 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
- + fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
- + };
- +
- + ethernet@4 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
- + fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
- + };
- +
- + ethernet@5 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>;
- + fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>;
- + };
- +
- + ethernet@8 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
- + fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
- + };
- +
- + ethernet@9 {
- + compatible = "fsl,dpa-ethernet-init";
- + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
- + fsl,qman-frame-queues-rx = <0x5e 1 0x5f 1>;
- + fsl,qman-frame-queues-tx = <0x7e 1 0x7f 1>;
- + };
- +
- + dpa-fman0-oh@2 {
- + compatible = "fsl,dpa-oh";
- + /* Define frame queues for the OH port*/
- + /* <OH Rx error, OH Rx default> */
- + fsl,qman-frame-queues-oh = <0x60 1 0x61 1>;
- + fsl,fman-oh-port = <&fman0_oh2>;
- + };
- + };
- +};
- +/ {
- + reserved-memory {
- + #address-cells = <2>;
- + #size-cells = <2>;
- + ranges;
- +
- + usdpaa_mem: usdpaa_mem {
- + compatible = "fsl,usdpaa-mem";
- + alloc-ranges = <0 0 0x10000 0>;
- + size = <0 0x10000000>;
- + alignment = <0 0x10000000>;
- + };
- + };
- +};
- +
- +&fman0 {
- + fman0_oh2: port@83000 {
- + cell-index = <1>;
- + compatible = "fsl,fman-port-oh";
- + reg = <0x83000 0x1000>;
- + };
- +};
|