2012-07-18 16:07:18 -06:00
/*
* Copyright (C) 2012 Altera <www.altera.com>
*
* This program 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 program 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.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2014-04-02 21:31:31 -05:00
#include "skeleton.dtsi"
2014-04-15 17:27:07 -05:00
#include <dt-bindings/reset/altr,rst-mgr.h>
2012-07-18 16:07:18 -06:00
/ {
#address-cells = <1>;
#size-cells = <1>;
aliases {
ethernet0 = &gmac0;
2013-06-05 10:02:53 -05:00
ethernet1 = &gmac1;
2012-07-18 16:07:18 -06:00
serial0 = &uart0;
serial1 = &uart1;
2013-02-11 17:30:30 -06:00
timer0 = &timer0;
timer1 = &timer1;
timer2 = &timer2;
timer3 = &timer3;
2012-07-18 16:07:18 -06:00
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
2015-05-22 23:00:10 -05:00
enable-method = "altr,socfpga-smp";
2012-07-18 16:07:18 -06:00
cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
next-level-cache = <&L2>;
};
cpu@1 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <1>;
next-level-cache = <&L2>;
};
};
intc: intc@fffed000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0xfffed000 0x1000>,
<0xfffec100 0x100>;
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
device_type = "soc";
interrupt-parent = <&intc>;
ranges;
amba {
2016-03-09 13:26:45 +09:00
compatible = "simple-bus";
2012-07-18 16:07:18 -06:00
#address-cells = <1>;
#size-cells = <1>;
ranges;
pdma: pdma@ffe01000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0xffe01000 0x1000>;
2014-04-02 10:40:30 -05:00
interrupts = <0 104 4>,
<0 105 4>,
<0 106 4>,
<0 107 4>,
<0 108 4>,
<0 109 4>,
<0 110 4>,
<0 111 4>;
2013-03-04 11:04:28 +05:30
#dma-cells = <1>;
#dma-channels = <8>;
#dma-requests = <32>;
2014-01-08 12:01:26 -06:00
clocks = <&l4_main_clk>;
clock-names = "apb_pclk";
2012-07-18 16:07:18 -06:00
};
};
2014-04-02 11:11:26 -05:00
can0: can@ffc00000 {
compatible = "bosch,d_can";
reg = <0xffc00000 0x1000>;
interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>;
clocks = <&can0_clk>;
status = "disabled";
};
can1: can@ffc01000 {
compatible = "bosch,d_can";
reg = <0xffc01000 0x1000>;
interrupts = <0 135 4>, <0 136 4>, <0 137 4>, <0 138 4>;
clocks = <&can1_clk>;
status = "disabled";
};
2013-04-11 10:55:25 -05:00
clkmgr@ffd04000 {
compatible = "altr,clk-mgr";
reg = <0xffd04000 0x1000>;
clocks {
#address-cells = <1>;
#size-cells = <0>;
2014-02-19 14:56:38 -06:00
osc1: osc1 {
#clock-cells = <0>;
compatible = "fixed-clock";
};
osc2: osc2 {
2013-04-11 10:55:25 -05:00
#clock-cells = <0>;
compatible = "fixed-clock";
};
2013-06-05 10:02:54 -05:00
f2s_periph_ref_clk: f2s_periph_ref_clk {
#clock-cells = <0>;
compatible = "fixed-clock";
2014-02-19 14:56:38 -06:00
};
f2s_sdram_ref_clk: f2s_sdram_ref_clk {
#clock-cells = <0>;
compatible = "fixed-clock";
2013-06-05 10:02:54 -05:00
};
2013-04-11 10:55:25 -05:00
main_pll: main_pll {
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <0>;
compatible = "altr,socfpga-pll-clock";
2014-02-19 14:56:38 -06:00
clocks = <&osc1>;
2013-04-11 10:55:25 -05:00
reg = <0x40>;
mpuclk: mpuclk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>;
2014-04-16 15:05:15 -05:00
div-reg = <0xe0 0 9>;
2013-04-11 10:55:25 -05:00
reg = <0x48>;
};
mainclk: mainclk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>;
2014-04-16 15:05:15 -05:00
div-reg = <0xe4 0 9>;
2013-04-11 10:55:25 -05:00
reg = <0x4C>;
};
dbg_base_clk: dbg_base_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
2015-07-24 22:10:59 -05:00
clocks = <&main_pll>, <&osc1>;
2014-04-16 15:05:15 -05:00
div-reg = <0xe8 0 9>;
2013-04-11 10:55:25 -05:00
reg = <0x50>;
};
main_qspi_clk: main_qspi_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>;
reg = <0x54>;
};
main_nand_sdmmc_clk: main_nand_sdmmc_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>;
reg = <0x58>;
};
2013-10-07 11:11:38 -05:00
cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
2013-04-11 10:55:25 -05:00
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>;
reg = <0x5C>;
};
};
periph_pll: periph_pll {
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <0>;
compatible = "altr,socfpga-pll-clock";
2014-02-19 14:56:38 -06:00
clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>;
2013-04-11 10:55:25 -05:00
reg = <0x80>;
emac0_clk: emac0_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x88>;
};
emac1_clk: emac1_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x8C>;
};
per_qspi_clk: per_qsi_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x90>;
};
per_nand_mmc_clk: per_nand_mmc_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x94>;
};
per_base_clk: per_base_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x98>;
};
2013-10-07 11:11:38 -05:00
h2f_usr1_clk: h2f_usr1_clk {
2013-04-11 10:55:25 -05:00
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>;
reg = <0x9C>;
};
};
sdram_pll: sdram_pll {
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <0>;
compatible = "altr,socfpga-pll-clock";
2014-02-19 14:56:38 -06:00
clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>;
2013-04-11 10:55:25 -05:00
reg = <0xC0>;
ddr_dqs_clk: ddr_dqs_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>;
reg = <0xC8>;
};
ddr_2x_dqs_clk: ddr_2x_dqs_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>;
reg = <0xCC>;
};
ddr_dq_clk: ddr_dq_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>;
reg = <0xD0>;
};
2013-10-07 11:11:38 -05:00
h2f_usr2_clk: h2f_usr2_clk {
2013-04-11 10:55:25 -05:00
#clock-cells = <0>;
compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>;
reg = <0xD4>;
};
};
2013-06-05 10:02:54 -05:00
2013-10-07 10:44:07 -05:00
mpu_periph_clk: mpu_periph_clk {
#clock-cells = <0>;
2013-12-03 14:32:10 -06:00
compatible = "altr,socfpga-perip-clk";
2013-10-07 10:44:07 -05:00
clocks = <&mpuclk>;
fixed-divider = <4>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
mpu_l2_ram_clk: mpu_l2_ram_clk {
#clock-cells = <0>;
2013-12-03 14:32:10 -06:00
compatible = "altr,socfpga-perip-clk";
2013-10-07 10:44:07 -05:00
clocks = <&mpuclk>;
fixed-divider = <2>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
l4_main_clk: l4_main_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&mainclk>;
clk-gate = <0x60 0>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
l3_main_clk: l3_main_clk {
#clock-cells = <0>;
2013-12-03 14:32:10 -06:00
compatible = "altr,socfpga-perip-clk";
2013-10-07 10:44:07 -05:00
clocks = <&mainclk>;
2013-12-03 14:32:10 -06:00
fixed-divider = <1>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
l3_mp_clk: l3_mp_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&mainclk>;
div-reg = <0x64 0 2>;
clk-gate = <0x60 1>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
l3_sp_clk: l3_sp_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
2013-11-20 09:39:17 -06:00
clocks = <&l3_mp_clk>;
2013-10-07 10:44:07 -05:00
div-reg = <0x64 2 2>;
};
2013-06-05 10:02:54 -05:00
2013-10-07 10:44:07 -05:00
l4_mp_clk: l4_mp_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&mainclk>, <&per_base_clk>;
div-reg = <0x64 4 3>;
clk-gate = <0x60 2>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
l4_sp_clk: l4_sp_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&mainclk>, <&per_base_clk>;
div-reg = <0x64 7 3>;
clk-gate = <0x60 3>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
dbg_at_clk: dbg_at_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&dbg_base_clk>;
div-reg = <0x68 0 2>;
clk-gate = <0x60 4>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
dbg_clk: dbg_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
2013-11-20 09:39:17 -06:00
clocks = <&dbg_at_clk>;
2013-10-07 10:44:07 -05:00
div-reg = <0x68 2 2>;
clk-gate = <0x60 5>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
dbg_trace_clk: dbg_trace_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&dbg_base_clk>;
div-reg = <0x6C 0 3>;
clk-gate = <0x60 6>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
dbg_timer_clk: dbg_timer_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&dbg_base_clk>;
clk-gate = <0x60 7>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
cfg_clk: cfg_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
2013-10-07 11:11:38 -05:00
clocks = <&cfg_h2f_usr0_clk>;
2013-10-07 10:44:07 -05:00
clk-gate = <0x60 8>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 11:11:38 -05:00
h2f_user0_clk: h2f_user0_clk {
2013-10-07 10:44:07 -05:00
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
2013-10-07 11:11:38 -05:00
clocks = <&cfg_h2f_usr0_clk>;
2013-10-07 10:44:07 -05:00
clk-gate = <0x60 9>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
emac_0_clk: emac_0_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&emac0_clk>;
clk-gate = <0xa0 0>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
emac_1_clk: emac_1_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&emac1_clk>;
clk-gate = <0xa0 1>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
usb_mp_clk: usb_mp_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&per_base_clk>;
clk-gate = <0xa0 2>;
div-reg = <0xa4 0 3>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
spi_m_clk: spi_m_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&per_base_clk>;
clk-gate = <0xa0 3>;
div-reg = <0xa4 3 3>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
can0_clk: can0_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&per_base_clk>;
clk-gate = <0xa0 4>;
div-reg = <0xa4 6 3>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
can1_clk: can1_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&per_base_clk>;
clk-gate = <0xa0 5>;
div-reg = <0xa4 9 3>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
gpio_db_clk: gpio_db_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&per_base_clk>;
clk-gate = <0xa0 6>;
div-reg = <0xa8 0 24>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 11:11:38 -05:00
h2f_user1_clk: h2f_user1_clk {
2013-10-07 10:44:07 -05:00
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
2013-10-07 11:11:38 -05:00
clocks = <&h2f_usr1_clk>;
2013-10-07 10:44:07 -05:00
clk-gate = <0xa0 7>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
sdmmc_clk: sdmmc_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
clk-gate = <0xa0 8>;
2014-01-06 12:17:24 -06:00
clk-phase = <0 135>;
2013-06-05 10:02:54 -05:00
};
2015-04-10 15:40:42 -05:00
sdmmc_clk_divided: sdmmc_clk_divided {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&sdmmc_clk>;
clk-gate = <0xa0 8>;
fixed-divider = <4>;
};
2013-10-07 10:44:07 -05:00
nand_x_clk: nand_x_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
clk-gate = <0xa0 9>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
nand_clk: nand_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
clk-gate = <0xa0 10>;
fixed-divider = <4>;
2013-06-05 10:02:54 -05:00
};
2013-10-07 10:44:07 -05:00
qspi_clk: qspi_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>;
clk-gate = <0xa0 11>;
2013-06-05 10:02:54 -05:00
};
2014-02-03 14:22:59 -08:00
ddr_dqs_clk_gate: ddr_dqs_clk_gate {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&ddr_dqs_clk>;
clk-gate = <0xd8 0>;
};
ddr_2x_dqs_clk_gate: ddr_2x_dqs_clk_gate {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&ddr_2x_dqs_clk>;
clk-gate = <0xd8 1>;
};
ddr_dq_clk_gate: ddr_dq_clk_gate {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&ddr_dq_clk>;
clk-gate = <0xd8 2>;
};
h2f_user2_clk: h2f_user2_clk {
#clock-cells = <0>;
compatible = "altr,socfpga-gate-clk";
clocks = <&h2f_usr2_clk>;
clk-gate = <0xd8 3>;
};
2013-04-11 10:55:25 -05:00
};
2014-02-03 14:22:59 -08:00
};
2013-04-11 10:55:25 -05:00
2015-10-13 19:38:59 +00:00
fpgamgr0: fpgamgr@ff706000 {
compatible = "altr,socfpga-fpga-mgr";
reg = <0xff706000 0x1000
0xffb90000 0x1000>;
interrupts = <0 175 4>;
};
2013-06-05 10:02:53 -05:00
gmac0: ethernet@ff700000 {
2012-07-18 16:07:18 -06:00
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
2014-03-26 22:45:11 -05:00
altr,sysmgr-syscon = <&sysmgr 0x60 0>;
2012-07-18 16:07:18 -06:00
reg = <0xff700000 0x2000>;
interrupts = <0 115 4>;
interrupt-names = "macirq";
mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
2013-06-05 10:02:53 -05:00
clocks = <&emac0_clk>;
clock-names = "stmmaceth";
2014-04-15 17:27:07 -05:00
resets = <&rst EMAC0_RESET>;
reset-names = "stmmaceth";
2014-07-31 15:49:16 -05:00
snps,multicast-filter-bins = <256>;
snps,perfect-filter-entries = <128>;
2015-04-21 14:19:24 -05:00
tx-fifo-depth = <4096>;
rx-fifo-depth = <4096>;
2013-06-05 10:02:53 -05:00
status = "disabled";
};
gmac1: ethernet@ff702000 {
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
2014-03-26 22:45:11 -05:00
altr,sysmgr-syscon = <&sysmgr 0x60 2>;
2013-06-05 10:02:53 -05:00
reg = <0xff702000 0x2000>;
interrupts = <0 120 4>;
interrupt-names = "macirq";
mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
clocks = <&emac1_clk>;
clock-names = "stmmaceth";
2014-04-15 17:27:07 -05:00
resets = <&rst EMAC1_RESET>;
reset-names = "stmmaceth";
2014-07-31 15:49:16 -05:00
snps,multicast-filter-bins = <256>;
snps,perfect-filter-entries = <128>;
2015-04-21 14:19:24 -05:00
tx-fifo-depth = <4096>;
rx-fifo-depth = <4096>;
2013-06-05 10:02:53 -05:00
status = "disabled";
2012-07-18 16:07:18 -06:00
};
2014-10-22 13:00:42 -05:00
gpio0: gpio@ff708000 {
2014-03-20 18:21:55 -05:00
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff708000 0x1000>;
2014-05-28 22:40:13 -05:00
clocks = <&l4_mp_clk>;
2014-03-20 18:21:55 -05:00
status = "disabled";
2014-10-22 13:00:42 -05:00
porta: gpio-controller@0 {
2014-03-20 18:21:55 -05:00
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 164 4>;
};
};
2014-10-22 13:00:42 -05:00
gpio1: gpio@ff709000 {
2014-03-20 18:21:55 -05:00
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff709000 0x1000>;
2014-05-28 22:40:13 -05:00
clocks = <&l4_mp_clk>;
2014-03-20 18:21:55 -05:00
status = "disabled";
2014-10-22 13:00:42 -05:00
portb: gpio-controller@0 {
2014-03-20 18:21:55 -05:00
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 165 4>;
};
};
2014-10-22 13:00:42 -05:00
gpio2: gpio@ff70a000 {
2014-03-20 18:21:55 -05:00
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff70a000 0x1000>;
2014-05-28 22:40:13 -05:00
clocks = <&l4_mp_clk>;
2014-03-20 18:21:55 -05:00
status = "disabled";
2014-10-22 13:00:42 -05:00
portc: gpio-controller@0 {
2014-03-20 18:21:55 -05:00
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <27>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 166 4>;
};
};
2015-10-13 20:11:42 +00:00
i2c0: i2c@ffc04000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xffc04000 0x1000>;
clocks = <&l4_sp_clk>;
interrupts = <0 158 0x4>;
status = "disabled";
2014-08-26 16:09:32 -05:00
};
2015-10-13 20:11:42 +00:00
i2c1: i2c@ffc05000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xffc05000 0x1000>;
clocks = <&l4_sp_clk>;
interrupts = <0 159 0x4>;
status = "disabled";
};
i2c2: i2c@ffc06000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xffc06000 0x1000>;
clocks = <&l4_sp_clk>;
interrupts = <0 160 0x4>;
status = "disabled";
};
i2c3: i2c@ffc07000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,designware-i2c";
reg = <0xffc07000 0x1000>;
clocks = <&l4_sp_clk>;
interrupts = <0 161 0x4>;
status = "disabled";
2014-08-26 16:09:32 -05:00
};
2016-02-10 13:26:22 -06:00
eccmgr: eccmgr@ffd08140 {
compatible = "altr,socfpga-ecc-manager";
#address-cells = <1>;
#size-cells = <1>;
ranges;
l2-ecc@ffd08140 {
compatible = "altr,socfpga-l2-ecc";
reg = <0xffd08140 0x4>;
interrupts = <0 36 1>, <0 37 1>;
};
ocram-ecc@ffd08144 {
compatible = "altr,socfpga-ocram-ecc";
reg = <0xffd08144 0x4>;
iram = <&ocram>;
interrupts = <0 178 1>, <0 179 1>;
};
};
2012-07-18 16:07:18 -06:00
L2: l2-cache@fffef000 {
compatible = "arm,pl310-cache";
reg = <0xfffef000 0x1000>;
interrupts = <0 38 0x04>;
cache-unified;
cache-level = <2>;
2014-01-06 20:54:43 -06:00
arm,tag-latency = <1 1 1>;
arm,data-latency = <2 1 1>;
2015-07-16 15:48:50 -05:00
prefetch-data = <1>;
prefetch-instr = <1>;
2012-07-18 16:07:18 -06:00
};
2014-02-17 20:31:02 -06:00
mmc: dwmmc0@ff704000 {
compatible = "altr,socfpga-dw-mshc";
reg = <0xff704000 0x1000>;
interrupts = <0 139 4>;
fifo-depth = <0x400>;
#address-cells = <1>;
#size-cells = <0>;
2015-04-10 15:40:42 -05:00
clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>;
2014-02-17 20:31:02 -06:00
clock-names = "biu", "ciu";
2015-12-21 00:42:01 -06:00
status = "disabled";
2014-02-17 20:31:02 -06:00
};
2014-09-26 11:04:09 -05:00
ocram: sram@ffff0000 {
compatible = "mmio-sram";
reg = <0xffff0000 0x10000>;
};
2015-10-13 20:11:42 +00:00
rst: rstmgr@ffd05000 {
#reset-cells = <1>;
compatible = "altr,rst-mgr";
reg = <0xffd05000 0x1000>;
altr,modrst-offset = <0x10>;
};
scu: snoop-control-unit@fffec000 {
compatible = "arm,cortex-a9-scu";
reg = <0xfffec000 0x100>;
};
sdr: sdr@ffc25000 {
compatible = "syscon";
reg = <0xffc25000 0x1000>;
};
sdramedac {
compatible = "altr,sdram-edac";
altr,sdr-syscon = <&sdr>;
interrupts = <0 39 4>;
};
2014-10-21 18:55:40 +00:00
spi0: spi@fff00000 {
compatible = "snps,dw-apb-ssi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0xfff00000 0x1000>;
interrupts = <0 154 4>;
num-cs = <4>;
clocks = <&spi_m_clk>;
status = "disabled";
};
spi1: spi@fff01000 {
compatible = "snps,dw-apb-ssi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0xfff01000 0x1000>;
2015-03-17 21:35:23 +00:00
interrupts = <0 155 4>;
2014-10-21 18:55:40 +00:00
num-cs = <4>;
clocks = <&spi_m_clk>;
status = "disabled";
};
2015-10-13 20:11:42 +00:00
sysmgr: sysmgr@ffd08000 {
compatible = "altr,sys-mgr", "syscon";
reg = <0xffd08000 0x4000>;
};
2012-07-18 16:07:18 -06:00
/* Local timer */
timer@fffec600 {
compatible = "arm,cortex-a9-twd-timer";
reg = <0xfffec600 0x100>;
interrupts = <1 13 0xf04>;
2013-10-01 14:42:27 -05:00
clocks = <&mpu_periph_clk>;
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
timer0: timer0@ffc08000 {
2013-08-21 15:28:49 -05:00
compatible = "snps,dw-apb-timer";
2012-07-18 16:07:18 -06:00
interrupts = <0 167 4>;
reg = <0xffc08000 0x1000>;
2014-04-02 21:14:57 -05:00
clocks = <&l4_sp_clk>;
clock-names = "timer";
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
timer1: timer1@ffc09000 {
2013-08-21 15:28:49 -05:00
compatible = "snps,dw-apb-timer";
2012-07-18 16:07:18 -06:00
interrupts = <0 168 4>;
reg = <0xffc09000 0x1000>;
2014-04-02 21:14:57 -05:00
clocks = <&l4_sp_clk>;
clock-names = "timer";
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
timer2: timer2@ffd00000 {
2013-08-21 15:28:49 -05:00
compatible = "snps,dw-apb-timer";
2012-07-18 16:07:18 -06:00
interrupts = <0 169 4>;
reg = <0xffd00000 0x1000>;
2014-04-02 21:14:57 -05:00
clocks = <&osc1>;
clock-names = "timer";
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
timer3: timer3@ffd01000 {
2013-08-21 15:28:49 -05:00
compatible = "snps,dw-apb-timer";
2012-07-18 16:07:18 -06:00
interrupts = <0 170 4>;
reg = <0xffd01000 0x1000>;
2014-04-02 21:14:57 -05:00
clocks = <&osc1>;
clock-names = "timer";
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
uart0: serial0@ffc02000 {
2012-07-18 16:07:18 -06:00
compatible = "snps,dw-apb-uart";
reg = <0xffc02000 0x1000>;
interrupts = <0 162 4>;
reg-shift = <2>;
reg-io-width = <4>;
2014-04-02 21:14:57 -05:00
clocks = <&l4_sp_clk>;
2015-02-19 12:07:52 +00:00
dmas = <&pdma 28>,
<&pdma 29>;
dma-names = "tx", "rx";
2012-07-18 16:07:18 -06:00
};
2013-02-11 17:30:30 -06:00
uart1: serial1@ffc03000 {
2012-07-18 16:07:18 -06:00
compatible = "snps,dw-apb-uart";
reg = <0xffc03000 0x1000>;
interrupts = <0 163 4>;
reg-shift = <2>;
reg-io-width = <4>;
2014-04-02 21:14:57 -05:00
clocks = <&l4_sp_clk>;
2015-02-19 12:07:52 +00:00
dmas = <&pdma 30>,
<&pdma 31>;
dma-names = "tx", "rx";
2012-07-18 16:07:18 -06:00
};
2012-10-25 10:41:39 -06:00
2013-10-28 09:48:32 -05:00
usbphy0: usbphy@0 {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
status = "okay";
};
usb0: usb@ffb00000 {
compatible = "snps,dwc2";
reg = <0xffb00000 0xffff>;
interrupts = <0 125 4>;
clocks = <&usb_mp_clk>;
clock-names = "otg";
phys = <&usbphy0>;
phy-names = "usb2-phy";
status = "disabled";
};
usb1: usb@ffb40000 {
compatible = "snps,dwc2";
reg = <0xffb40000 0xffff>;
interrupts = <0 128 4>;
clocks = <&usb_mp_clk>;
clock-names = "otg";
phys = <&usbphy0>;
phy-names = "usb2-phy";
status = "disabled";
};
2014-05-22 16:37:17 -05:00
watchdog0: watchdog@ffd02000 {
compatible = "snps,dw-wdt";
reg = <0xffd02000 0x1000>;
interrupts = <0 171 4>;
clocks = <&osc1>;
status = "disabled";
};
watchdog1: watchdog@ffd03000 {
compatible = "snps,dw-wdt";
reg = <0xffd03000 0x1000>;
interrupts = <0 172 4>;
clocks = <&osc1>;
status = "disabled";
};
2012-07-18 16:07:18 -06:00
};
};