199767f8919635c4928607450d9e0abb932109ceToomas Soome/*
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Device Tree Include file for Marvell Armada 38x family of SoCs.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (C) 2014 Marvell
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Lior Amsalem <alior@marvell.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Gregory CLEMENT <gregory.clement@free-electrons.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * This file is dual-licensed: you can use it either under the terms
199767f8919635c4928607450d9e0abb932109ceToomas Soome * of the GPL or the X11 license, at your option. Note that this dual
199767f8919635c4928607450d9e0abb932109ceToomas Soome * licensing only applies to this file, and not this project as a
199767f8919635c4928607450d9e0abb932109ceToomas Soome * whole.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * a) This file is free software; you can redistribute it and/or
199767f8919635c4928607450d9e0abb932109ceToomas Soome * modify it under the terms of the GNU General Public License as
199767f8919635c4928607450d9e0abb932109ceToomas Soome * published by the Free Software Foundation; either version 2 of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * License, or (at your option) any later version.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * This file is distributed in the hope that it will be useful
199767f8919635c4928607450d9e0abb932109ceToomas Soome * but WITHOUT ANY WARRANTY; without even the implied warranty of
199767f8919635c4928607450d9e0abb932109ceToomas Soome * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * GNU General Public License for more details.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Or, alternatively
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * b) Permission is hereby granted, free of charge, to any person
199767f8919635c4928607450d9e0abb932109ceToomas Soome * obtaining a copy of this software and associated documentation
199767f8919635c4928607450d9e0abb932109ceToomas Soome * files (the "Software"), to deal in the Software without
199767f8919635c4928607450d9e0abb932109ceToomas Soome * restriction, including without limitation the rights to use
199767f8919635c4928607450d9e0abb932109ceToomas Soome * copy, modify, merge, publish, distribute, sublicense, and/or
199767f8919635c4928607450d9e0abb932109ceToomas Soome * sell copies of the Software, and to permit persons to whom the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Software is furnished to do so, subject to the following
199767f8919635c4928607450d9e0abb932109ceToomas Soome * conditions:
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * The above copyright notice and this permission notice shall be
199767f8919635c4928607450d9e0abb932109ceToomas Soome * included in all copies or substantial portions of the Software.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
199767f8919635c4928607450d9e0abb932109ceToomas Soome * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
199767f8919635c4928607450d9e0abb932109ceToomas Soome * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
199767f8919635c4928607450d9e0abb932109ceToomas Soome * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
199767f8919635c4928607450d9e0abb932109ceToomas Soome * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
199767f8919635c4928607450d9e0abb932109ceToomas Soome * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OTHER DEALINGS IN THE SOFTWARE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#include "skeleton.dtsi"
199767f8919635c4928607450d9e0abb932109ceToomas Soome#include <dt-bindings/interrupt-controller/arm-gic.h>
199767f8919635c4928607450d9e0abb932109ceToomas Soome#include <dt-bindings/interrupt-controller/irq.h>
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "Marvell Armada 38x family SoC";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada380";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome aliases {
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio0 = &gpio0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio1 = &gpio1;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0 = &uart0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial1 = &uart1;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pmu {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a9-pmu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&mpic 3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome soc {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada380-mbus", "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome controller = <&mbusc>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&gic>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pcie-mem-aperture = <0xe0000000 0x8000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pcie-io-aperture = <0xe8000000 0x100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome bootrom {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,bootrom";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome devbus-bootcs {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mvebu-devbus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome devbus-cs0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mvebu-devbus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome devbus-cs1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mvebu-devbus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome devbus-cs2 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mvebu-devbus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome devbus-cs3 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mvebu-devbus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome internal-regs {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome L2: cache-controller@8000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,pl310-cache";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x8000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome cache-unified;
199767f8919635c4928607450d9e0abb932109ceToomas Soome cache-level = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome scu@c000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a9-scu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xc000 0x58>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome timer@c200 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a9-global-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xc200 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome timer@c600 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a9-twd-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xc600 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome gic: interrupt-controller@d000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a9-gic";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xd000 0x1000>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <0xc100 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome spi0: spi@10600 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-spi",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,orion-spi";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x10600 0x50>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome cell-index = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome spi1: spi@10680 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-spi",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,orion-spi";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x10680 0x50>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome cell-index = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome i2c0: i2c@11000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mv64xxx-i2c";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x11000 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome timeout-ms = <1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome i2c1: i2c@11100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mv64xxx-i2c";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x11100 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome timeout-ms = <1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome uart0: serial@12000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "snps,dw-apb-uart";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x12000 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-io-width = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome uart1: serial@12100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "snps,dw-apb-uart";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x12100 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-io-width = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pinctrl: pinctrl@18000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18000 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome ge0_rgmii_pins: ge-rgmii-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp6", "mpp7", "mpp8",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp9", "mpp10", "mpp11",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp12", "mpp13", "mpp14",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp15", "mpp16", "mpp17";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ge0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome ge1_rgmii_pins: ge-rgmii-pins-1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp21", "mpp27", "mpp28",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp29", "mpp30", "mpp31",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp32", "mpp37", "mpp38",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp39", "mpp40", "mpp41";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ge1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome i2c0_pins: i2c-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp2", "mpp3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "i2c0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mdio_pins: mdio-pins {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp4", "mpp5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ge";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome ref_clk0_pins: ref-clk-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp45";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ref";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome ref_clk1_pins: ref-clk-pins-1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp46";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ref";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome spi0_pins: spi-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp22", "mpp23", "mpp24",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp25";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "spi0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome spi1_pins: spi-pins-1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp56", "mpp57", "mpp58",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp59";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "spi1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome uart0_pins: uart-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp0", "mpp1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ua0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome uart1_pins: uart-pins-1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp19", "mpp20";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "ua1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sdhci_pins: sdhci-pins {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp48", "mpp49", "mpp50",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp52", "mpp53", "mpp54",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp55", "mpp57", "mpp58",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "mpp59";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "sd0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata0_pins: sata-pins-0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp20";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "sata0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata1_pins: sata-pins-1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp19";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "sata1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata2_pins: sata-pins-2 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp47";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "sata2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata3_pins: sata-pins-3 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,pins = "mpp44";
199767f8919635c4928607450d9e0abb932109ceToomas Soome marvell,function = "sata3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio0: gpio@18100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-gpio";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18100 0x40>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ngpios = <32>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #gpio-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio1: gpio@18140 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-gpio";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18140 0x40>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ngpios = <28>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #gpio-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome system-controller@18200 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-system-controller",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,armada-370-xp-system-controller";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18200 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome gateclk: clock-gating-control@18220 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-gating-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18220 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #clock-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome coreclk: mvebu-sar@18600 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-core-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x18600 0x04>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #clock-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mbusc: mbus-controller@20000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mbus-controller";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20000 0x100>, <0x20180 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mpic: interrupt-controller@20a00 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,mpic";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20a00 0x2d0>, <0x21070 0x58>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome msi-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome timer@20300 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-timer",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,armada-xp-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20300 0x30>, <0x21040 0x30>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <&mpic 5>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <&mpic 6>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 2>, <&refclk>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-names = "nbclk", "fixed";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome watchdog@20300 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-wdt";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coreclk 2>, <&refclk>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-names = "nbclk", "fixed";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpurst@20800 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-370-cpu-reset";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20800 0x10>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mpcore-soc-ctrl@20d20 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-mpcore-soc-ctrl";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20d20 0x6c>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome coherency-fabric@21010 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-coherency-fabric";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x21010 0x1c>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pmsu@22000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-pmsu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x22000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome eth1: ethernet@30000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-370-neta";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x30000 0x4000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&mpic 10>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome eth2: ethernet@34000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-370-neta";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x34000 0x4000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&mpic 12>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb@58000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-ehci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x58000 0x500>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 18>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor@60800 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-xor";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60800 0x100
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x60a00 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 22>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "okay";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor00 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memcpy;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,xor;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor01 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memcpy;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,xor;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memset;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor@60900 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-xor";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60900 0x100
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x60b00 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 28>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "okay";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor10 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memcpy;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,xor;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor11 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memcpy;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,xor;
199767f8919635c4928607450d9e0abb932109ceToomas Soome dmacap,memset;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome eth0: ethernet@70000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-370-neta";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x70000 0x4000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&mpic 8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mdio: mdio@72004 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,orion-mdio";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x72004 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome rtc@a3800 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-rtc";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xa3800 0x20>, <0x184a0 0x0c>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-names = "rtc", "rtc-soc";
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata@a8000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-ahci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xa8000 0x2000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 15>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sata@e0000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-ahci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xe0000 0x2000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 30>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome coredivclk: clock@e4250 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-corediv-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xe4250 0xc>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #clock-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&mainpll>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-output-names = "nand";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome thermal@e8078 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada380-thermal";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xe4078 0x4>, <0xe4074 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "okay";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome flash@d0000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada370-nand";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xd0000 0x54>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&coredivclk 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sdhci@d8000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-sdhci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-names = "sdhci", "mbus", "conf-sdio3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xd8000 0x1000>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <0xdc000 0x100>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome <0x18454 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 17>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome mrvl,clk-delay-cycles = <0x1F>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb3@f0000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-xhci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf0000 0x4000>,<0xf4000 0x4000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 9>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb3@f8000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-xhci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf8000 0x4000>,<0xfc000 0x4000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks = <&gateclk 10>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pci0: pcie@f1080000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,pcie";
199767f8919635c4928607450d9e0abb932109ceToomas Soome status = "disabled";
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "pci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf1080000 0x2000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bus-range = <0 255>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x42000000 0x0 0xf1200000 0xf1200000 0x0 0x00100000
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x41000000 0x0 0x00000000 0xf1300000 0x0 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&gic>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_SPI 91 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-map = <
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x0000 0x0 0x0 0x1 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH
199767f8919635c4928607450d9e0abb932109ceToomas Soome >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome clocks {
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* 2 GHz fixed main PLL */
199767f8919635c4928607450d9e0abb932109ceToomas Soome mainpll: mainpll {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "fixed-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #clock-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <1000000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* 25 MHz reference crystal */
199767f8919635c4928607450d9e0abb932109ceToomas Soome refclk: oscillator {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "fixed-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #clock-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <25000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome};