aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/arc770/dts
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-08-16 14:49:16 +0300
committerJohn Crispin <john@phrozen.org>2016-08-16 12:18:28 +0200
commita3cde14f5a9ef0bca820341cbbd6d5cfb80451fc (patch)
tree44a6574cc3da210b7ab4fb4b9744c90053df0353 /target/linux/arc770/dts
parentc41506625a87dae1596c0b74fe74dec14005fd82 (diff)
downloadupstream-a3cde14f5a9ef0bca820341cbbd6d5cfb80451fc.tar.gz
upstream-a3cde14f5a9ef0bca820341cbbd6d5cfb80451fc.tar.bz2
upstream-a3cde14f5a9ef0bca820341cbbd6d5cfb80451fc.zip
arc: use patched .dts from sources
Instead of using off-the-tree .dts files for ARC boards we're switching to use in-tree ones. And for that to work properly we apply upstream patch that adds currently missing "model" property. Upstream patch and discussion could be found here: http://lists.infradead.org/pipermail/linux-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/arc770/dts')
-rw-r--r--target/linux/arc770/dts/axc001.dtsi100
-rw-r--r--target/linux/arc770/dts/axs101.dts22
-rw-r--r--target/linux/arc770/dts/axs10x_mb.dtsi225
-rw-r--r--target/linux/arc770/dts/nsim_700.dts71
-rw-r--r--target/linux/arc770/dts/skeleton.dtsi37
5 files changed, 0 insertions, 455 deletions
diff --git a/target/linux/arc770/dts/axc001.dtsi b/target/linux/arc770/dts/axc001.dtsi
deleted file mode 100644
index 420dcfde28..0000000000
--- a/target/linux/arc770/dts/axc001.dtsi
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-/*
- * Device tree for AXC001 770D/EM6/AS221 CPU card
- * Note that this file only supports the 770D CPU
- */
-
-/ {
- compatible = "snps,arc";
- clock-frequency = <750000000>; /* 750 MHZ */
- #address-cells = <1>;
- #size-cells = <1>;
-
- cpu_card {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
-
- ranges = <0x00000000 0xf0000000 0x10000000>;
-
- cpu_intc: arc700-intc@cpu {
- compatible = "snps,arc700-intc";
- interrupt-controller;
- #interrupt-cells = <1>;
- };
-
- /*
- * this GPIO block ORs all interrupts on CPU card (creg,..)
- * to uplink only 1 IRQ to ARC core intc
- */
- dw-apb-gpio@0x2000 {
- compatible = "snps,dw-apb-gpio";
- reg = < 0x2000 0x80 >;
- #address-cells = <1>;
- #size-cells = <0>;
-
- ictl_intc: gpio-controller@0 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <30>;
- reg = <0>;
- interrupt-controller;
- #interrupt-cells = <2>;
- interrupt-parent = <&cpu_intc>;
- interrupts = <15>;
- };
- };
-
- debug_uart: dw-apb-uart@0x5000 {
- compatible = "snps,dw-apb-uart";
- reg = <0x5000 0x100>;
- clock-frequency = <33333000>;
- interrupt-parent = <&ictl_intc>;
- interrupts = <19 4>;
- baud = <115200>;
- reg-shift = <2>;
- reg-io-width = <4>;
- };
-
- arcpmu0: pmu {
- compatible = "snps,arc700-pct";
- };
- };
-
- /*
- * This INTC is actually connected to DW APB GPIO
- * which acts as a wire between MB INTC and CPU INTC.
- * GPIO INTC is configured in platform init code
- * and here we mimic direct connection from MB INTC to
- * CPU INTC, thus we set "interrupts = <7>" instead of
- * "interrupts = <12>"
- *
- * This intc actually resides on MB, but we move it here to
- * avoid duplicating the MB dtsi file given that IRQ from
- * this intc to cpu intc are different for axs101 and axs103
- */
- mb_intc: dw-apb-ictl@0xe0012000 {
- #interrupt-cells = <1>;
- compatible = "snps,dw-apb-ictl";
- reg = < 0xe0012000 0x200 >;
- interrupt-controller;
- interrupt-parent = <&cpu_intc>;
- interrupts = < 7 >;
- };
-
- memory {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0x00000000 0x80000000 0x40000000>;
- device_type = "memory";
- reg = <0x80000000 0x20000000>; /* 512MiB */
- };
-};
diff --git a/target/linux/arc770/dts/axs101.dts b/target/linux/arc770/dts/axs101.dts
deleted file mode 100644
index 8718eb46cc..0000000000
--- a/target/linux/arc770/dts/axs101.dts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * ARC AXS101 S/W development platform
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-/dts-v1/;
-
-/include/ "axc001.dtsi"
-/include/ "axs10x_mb.dtsi"
-
-/ {
- model = "Synopsys AXS101 Development Board";
- compatible = "snps,axs101", "snps,arc-sdp";
-
- chosen {
- bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=ttyS3,115200n8";
- };
-};
diff --git a/target/linux/arc770/dts/axs10x_mb.dtsi b/target/linux/arc770/dts/axs10x_mb.dtsi
deleted file mode 100644
index 44a578c107..0000000000
--- a/target/linux/arc770/dts/axs10x_mb.dtsi
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Support for peripherals on the AXS10x mainboard
- *
- * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-/ {
- axs10x_mb {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0x00000000 0xe0000000 0x10000000>;
- interrupt-parent = <&mb_intc>;
-
- clocks {
- i2cclk: i2cclk {
- compatible = "fixed-clock";
- clock-frequency = <50000000>;
- #clock-cells = <0>;
- };
-
- apbclk: apbclk {
- compatible = "fixed-clock";
- clock-frequency = <50000000>;
- #clock-cells = <0>;
- };
-
- mmcclk: mmcclk {
- compatible = "fixed-clock";
- clock-frequency = <50000000>;
- #clock-cells = <0>;
- };
- };
-
- ethernet@0x18000 {
- #interrupt-cells = <1>;
- compatible = "snps,dwmac";
- reg = < 0x18000 0x2000 >;
- interrupts = < 4 >;
- interrupt-names = "macirq";
- phy-mode = "rgmii";
- snps,pbl = < 32 >;
- clocks = <&apbclk>;
- clock-names = "stmmaceth";
- max-speed = <100>;
- };
-
- ehci@0x40000 {
- compatible = "generic-ehci";
- reg = < 0x40000 0x100 >;
- interrupts = < 8 >;
- };
-
- ohci@0x60000 {
- compatible = "generic-ohci";
- reg = < 0x60000 0x100 >;
- interrupts = < 8 >;
- };
-
- /*
- * According to DW Mobile Storage databook it is required
- * to use "Hold Register" if card is enumerated in SDR12 or
- * SDR25 modes.
- *
- * Utilization of "Hold Register" is already implemented via
- * dw_mci_pltfm_prepare_command() which in its turn gets
- * used through dw_mci_drv_data->prepare_command call-back.
- * This call-back is used in Altera Socfpga platform and so
- * we may reuse it saying that we're compatible with their
- * "altr,socfpga-dw-mshc".
- *
- * Most probably "Hold Register" utilization is platform-
- * independent requirement which means that single unified
- * "snps,dw-mshc" should be enough for all users of DW MMC once
- * dw_mci_pltfm_prepare_command() is used in generic platform
- * code.
- */
- mmc@0x15000 {
- compatible = "altr,socfpga-dw-mshc";
- reg = < 0x15000 0x400 >;
- num-slots = < 1 >;
- fifo-depth = < 16 >;
- card-detect-delay = < 200 >;
- clocks = <&apbclk>, <&mmcclk>;
- clock-names = "biu", "ciu";
- interrupts = < 7 >;
- bus-width = < 4 >;
- };
-
- uart@0x20000 {
- compatible = "snps,dw-apb-uart";
- reg = <0x20000 0x100>;
- clock-frequency = <33333333>;
- interrupts = <17>;
- baud = <115200>;
- reg-shift = <2>;
- reg-io-width = <4>;
- };
-
- uart@0x21000 {
- compatible = "snps,dw-apb-uart";
- reg = <0x21000 0x100>;
- clock-frequency = <33333333>;
- interrupts = <18>;
- baud = <115200>;
- reg-shift = <2>;
- reg-io-width = <4>;
- };
-
- /* UART muxed with USB data port (ttyS3) */
- uart@0x22000 {
- compatible = "snps,dw-apb-uart";
- reg = <0x22000 0x100>;
- clock-frequency = <33333333>;
- interrupts = <19>;
- baud = <115200>;
- reg-shift = <2>;
- reg-io-width = <4>;
- };
-
- i2c@0x1d000 {
- compatible = "snps,designware-i2c";
- reg = <0x1d000 0x100>;
- clock-frequency = <400000>;
- clocks = <&i2cclk>;
- interrupts = <14>;
- };
-
- i2c@0x1e000 {
- compatible = "snps,designware-i2c";
- reg = <0x1e000 0x100>;
- clock-frequency = <400000>;
- clocks = <&i2cclk>;
- interrupts = <15>;
- };
-
- i2c@0x1f000 {
- compatible = "snps,designware-i2c";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x1f000 0x100>;
- clock-frequency = <400000>;
- clocks = <&i2cclk>;
- interrupts = <16>;
-
- eeprom@0x54{
- compatible = "24c01";
- reg = <0x54>;
- pagesize = <0x8>;
- };
-
- eeprom@0x57{
- compatible = "24c04";
- reg = <0x57>;
- pagesize = <0x8>;
- };
- };
-
- gpio0:gpio@13000 {
- compatible = "snps,dw-apb-gpio";
- reg = <0x13000 0x1000>;
- #address-cells = <1>;
- #size-cells = <0>;
-
- gpio0_banka: gpio-controller@0 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <32>;
- reg = <0>;
- };
-
- gpio0_bankb: gpio-controller@1 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <8>;
- reg = <1>;
- };
-
- gpio0_bankc: gpio-controller@2 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <8>;
- reg = <2>;
- };
- };
-
- gpio1:gpio@14000 {
- compatible = "snps,dw-apb-gpio";
- reg = <0x14000 0x1000>;
- #address-cells = <1>;
- #size-cells = <0>;
-
- gpio1_banka: gpio-controller@0 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <30>;
- reg = <0>;
- };
-
- gpio1_bankb: gpio-controller@1 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <10>;
- reg = <1>;
- };
-
- gpio1_bankc: gpio-controller@2 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <8>;
- reg = <2>;
- };
- };
- };
-};
diff --git a/target/linux/arc770/dts/nsim_700.dts b/target/linux/arc770/dts/nsim_700.dts
deleted file mode 100644
index d152646fd9..0000000000
--- a/target/linux/arc770/dts/nsim_700.dts
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-/dts-v1/;
-
-/include/ "skeleton.dtsi"
-
-/ {
- model = "Synopsys ARC770 nSIM simulator";
- compatible = "snps,nsim";
- clock-frequency = <80000000>; /* 80 MHZ */
- #address-cells = <1>;
- #size-cells = <1>;
- interrupt-parent = <&intc>;
-
- chosen {
- bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8";
- };
-
- aliases {
- serial0 = &arcuart0;
- };
-
- fpga {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
-
- /* child and parent address space 1:1 mapped */
- ranges;
-
- intc: interrupt-controller {
- compatible = "snps,arc700-intc";
- interrupt-controller;
- #interrupt-cells = <1>;
- };
-
- arcuart0: serial@c0fc1000 {
- compatible = "snps,arc-uart";
- reg = <0xc0fc1000 0x100>;
- interrupts = <5>;
- clock-frequency = <80000000>;
- current-speed = <115200>;
- status = "okay";
- };
-
- ethernet@c0fc2000 {
- compatible = "snps,arc-emac";
- reg = <0xc0fc2000 0x3c>;
- interrupts = <6>;
- mac-address = [ 00 11 22 33 44 55 ];
- clock-frequency = <80000000>;
- max-speed = <100>;
- phy = <&phy0>;
-
- #address-cells = <1>;
- #size-cells = <0>;
- phy0: ethernet-phy@0 {
- reg = <1>;
- };
- };
-
- arcpmu0: pmu {
- compatible = "snps,arc700-pct";
- };
- };
-};
diff --git a/target/linux/arc770/dts/skeleton.dtsi b/target/linux/arc770/dts/skeleton.dtsi
deleted file mode 100644
index 296d371a33..0000000000
--- a/target/linux/arc770/dts/skeleton.dtsi
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-/*
- * Skeleton device tree; the bare minimum needed to boot; just include and
- * add a compatible value.
- */
-
-/ {
- compatible = "snps,arc";
- clock-frequency = <80000000>; /* 80 MHZ */
- #address-cells = <1>;
- #size-cells = <1>;
- chosen { };
- aliases { };
-
- cpus {
- #address-cells = <1>;
- #size-cells = <0>;
-
- cpu@0 {
- device_type = "cpu";
- compatible = "snps,arc770d";
- reg = <0>;
- };
- };
-
- memory {
- device_type = "memory";
- reg = <0x80000000 0x10000000>; /* 256M */
- };
-};