199767f8919635c4928607450d9e0abb932109ceToomas Soome * Device Tree Include file for Marvell Armada 38x family of SoCs.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (C) 2014 Marvell
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 * 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 * 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 * 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 * Or, alternatively
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 * The above copyright notice and this permission notice shall be
199767f8919635c4928607450d9e0abb932109ceToomas Soome * included in all copies or substantial portions of the Software.
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#include <dt-bindings/interrupt-controller/arm-gic.h>
199767f8919635c4928607450d9e0abb932109ceToomas Soome#include <dt-bindings/interrupt-controller/irq.h>
199767f8919635c4928607450d9e0abb932109ceToomas Soome#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada380-mbus", "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,orion-spi";
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,orion-spi";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-system-controller",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,armada-370-xp-system-controller";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-gating-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome "marvell,armada-xp-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-mpcore-soc-ctrl";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-coherency-fabric";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "marvell,armada-380-corediv-clock";
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x42000000 0x0 0xf1200000 0xf1200000 0x0 0x00100000
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x41000000 0x0 0x00000000 0xf1300000 0x0 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x0000 0x0 0x0 0x1 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* 2 GHz fixed main PLL */
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* 25 MHz reference crystal */