]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/armada-38x.dtsi
ARM: mvebu: remove aliases for Ethernet devices on Armada 370/375/38x/XP
[karo-tx-linux.git] / arch / arm / boot / dts / armada-38x.dtsi
index 74391dace9e74b6d0a49259ee8bbc33054a60525..f74bb01edb1b62b97ef26d96ad1a7c3d4b80dc73 100644 (file)
@@ -7,9 +7,43 @@
  * Gregory CLEMENT <gregory.clement@free-electrons.com>
  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  *
- * 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.
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL 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 file 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 file 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 , 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 "skeleton.dtsi"
        aliases {
                gpio0 = &gpio0;
                gpio1 = &gpio1;
-               ethernet0 = &eth0;
-               ethernet1 = &eth1;
-               ethernet2 = &eth2;
        };
 
        soc {
-               compatible = "marvell,armada380-mbus", "marvell,armada370-mbus",
-                            "simple-bus";
+               compatible = "marvell,armada380-mbus", "simple-bus";
                #address-cells = <2>;
                #size-cells = <1>;
                controller = <&mbusc>;
                                status = "disabled";
                        };
 
-                       serial@12000 {
+                       uart0: serial@12000 {
                                compatible = "snps,dw-apb-uart";
                                reg = <0x12000 0x100>;
                                reg-shift = <2>;
                                status = "disabled";
                        };
 
-                       serial@12100 {
+                       uart1: serial@12100 {
                                compatible = "snps,dw-apb-uart";
                                reg = <0x12100 0x100>;
                                reg-shift = <2>;
                                status = "disabled";
                        };
 
-                       pinctrl {
-                               compatible = "marvell,mv88f6820-pinctrl";
+                       pinctrl: pinctrl@18000 {
                                reg = <0x18000 0x20>;
+
+                               ge0_rgmii_pins: ge-rgmii-pins-0 {
+                                       marvell,pins = "mpp6", "mpp7", "mpp8",
+                                                      "mpp9", "mpp10", "mpp11",
+                                                      "mpp12", "mpp13", "mpp14",
+                                                      "mpp15", "mpp16", "mpp17";
+                                       marvell,function = "ge0";
+                               };
+
+                               ge1_rgmii_pins: ge-rgmii-pins-1 {
+                                       marvell,pins = "mpp21", "mpp27", "mpp28",
+                                                      "mpp29", "mpp30", "mpp31",
+                                                      "mpp32", "mpp37", "mpp38",
+                                                      "mpp39", "mpp40", "mpp41";
+                                       marvell,function = "ge1";
+                               };
+
+                               i2c0_pins: i2c-pins-0 {
+                                       marvell,pins = "mpp2", "mpp3";
+                                       marvell,function = "i2c0";
+                               };
+
+                               mdio_pins: mdio-pins {
+                                       marvell,pins = "mpp4", "mpp5";
+                                       marvell,function = "ge";
+                               };
+
+                               ref_clk0_pins: ref-clk-pins-0 {
+                                       marvell,pins = "mpp45";
+                                       marvell,function = "ref";
+                               };
+
+                               ref_clk1_pins: ref-clk-pins-1 {
+                                       marvell,pins = "mpp46";
+                                       marvell,function = "ref";
+                               };
+
+                               spi0_pins: spi-pins-0 {
+                                       marvell,pins = "mpp22", "mpp23", "mpp24",
+                                                      "mpp25";
+                                       marvell,function = "spi0";
+                               };
+
+                               spi1_pins: spi-pins-1 {
+                                       marvell,pins = "mpp56", "mpp57", "mpp58",
+                                                      "mpp59";
+                                       marvell,function = "spi1";
+                               };
+
+                               uart0_pins: uart-pins-0 {
+                                       marvell,pins = "mpp0", "mpp1";
+                                       marvell,function = "ua0";
+                               };
+
+                               uart1_pins: uart-pins-1 {
+                                       marvell,pins = "mpp19", "mpp20";
+                                       marvell,function = "ua1";
+                               };
+
+                               sdhci_pins: sdhci-pins {
+                                       marvell,pins = "mpp48", "mpp49", "mpp50",
+                                                      "mpp52", "mpp53", "mpp54",
+                                                      "mpp55", "mpp57", "mpp58",
+                                                      "mpp59";
+                                       marvell,function = "sd0";
+                               };
+
+                               sata0_pins: sata-pins-0 {
+                                       marvell,pins = "mpp20";
+                                       marvell,function = "sata0";
+                               };
+
+                               sata1_pins: sata-pins-1 {
+                                       marvell,pins = "mpp19";
+                                       marvell,function = "sata1";
+                               };
+
+                               sata2_pins: sata-pins-2 {
+                                       marvell,pins = "mpp47";
+                                       marvell,function = "sata2";
+                               };
+
+                               sata3_pins: sata-pins-3 {
+                                       marvell,pins = "mpp44";
+                                       marvell,function = "sata3";
+                               };
                        };
 
                        gpio0: gpio@18100 {
                                reg = <0x20000 0x100>, <0x20180 0x20>;
                        };
 
-                       mpic: interrupt-controller@20000 {
+                       mpic: interrupt-controller@20a00 {
                                compatible = "marvell,mpic";
                                reg = <0x20a00 0x2d0>, <0x21070 0x58>;
                                #interrupt-cells = <1>;
                                status = "disabled";
                        };
 
-                       usb@50000 {
+                       usb@58000 {
                                compatible = "marvell,orion-ehci";
                                reg = <0x58000 0x500>;
                                interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
                                status = "disabled";
                        };
 
-                       mdio {
+                       mdio@72004 {
                                #address-cells = <1>;
                                #size-cells = <0>;
                                compatible = "marvell,orion-mdio";
                                clocks = <&gateclk 4>;
                        };
 
+                       rtc@a3800 {
+                               compatible = "marvell,armada-380-rtc";
+                               reg = <0xa3800 0x20>, <0x184a0 0x0c>;
+                               reg-names = "rtc", "rtc-soc";
+                               interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+
                        sata@a8000 {
                                compatible = "marvell,armada-380-ahci";
                                reg = <0xa8000 0x2000>;
 
                        sdhci@d8000 {
                                compatible = "marvell,armada-380-sdhci";
-                               reg = <0xd8000 0x1000>, <0xdc000 0x100>;
-                               interrupts = <0 25 0x4>;
+                               reg-names = "sdhci", "mbus", "conf-sdio3";
+                               reg = <0xd8000 0x1000>,
+                                       <0xdc000 0x100>,
+                                       <0x18454 0x4>;
+                               interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&gateclk 17>;
                                mrvl,clk-delay-cycles = <0x1F>;
                                status = "disabled";