2014-02-24 09:05:07 -07:00
|
|
|
/*
|
|
|
|
* Copyright 2013-2014 Texas Instruments, Inc.
|
|
|
|
*
|
|
|
|
* Keystone 2 Edison soc device tree
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2017-01-19 10:44:11 -07:00
|
|
|
#include <dt-bindings/reset/ti-syscon.h>
|
|
|
|
|
2014-02-24 09:05:07 -07:00
|
|
|
/ {
|
2015-10-03 18:02:56 -06:00
|
|
|
compatible = "ti,k2e", "ti,keystone";
|
|
|
|
model = "Texas Instruments Keystone 2 Edison SoC";
|
|
|
|
|
2014-02-24 09:05:07 -07:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2016-03-22 10:06:22 -06:00
|
|
|
/include/ "keystone-k2e-clocks.dtsi"
|
2014-02-24 09:05:07 -07:00
|
|
|
|
|
|
|
usb: usb@2680000 {
|
|
|
|
interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
dwc3@2690000 {
|
|
|
|
interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1_phy: usb_phy@2620750 {
|
|
|
|
compatible = "ti,keystone-usbphy";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x2620750 24>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2016-08-31 14:29:59 -06:00
|
|
|
keystone_usb1: usb@25000000 {
|
2014-02-24 09:05:07 -07:00
|
|
|
compatible = "ti,keystone-dwc3";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x25000000 0x10000>;
|
|
|
|
clocks = <&clkusb1>;
|
|
|
|
clock-names = "usb";
|
|
|
|
interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
ranges;
|
2014-10-01 07:58:25 -06:00
|
|
|
dma-coherent;
|
|
|
|
dma-ranges;
|
2014-02-24 09:05:07 -07:00
|
|
|
status = "disabled";
|
|
|
|
|
2016-08-31 14:29:59 -06:00
|
|
|
usb1: dwc3@25010000 {
|
2014-02-24 09:05:07 -07:00
|
|
|
compatible = "synopsys,dwc3";
|
|
|
|
reg = <0x25010000 0x70000>;
|
|
|
|
interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
usb-phy = <&usb1_phy>, <&usb1_phy>;
|
|
|
|
};
|
|
|
|
};
|
2014-09-22 13:19:27 -06:00
|
|
|
|
2017-01-07 13:33:08 -07:00
|
|
|
msm_ram: msmram@0c000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x0c000000 0x200000>;
|
|
|
|
ranges = <0x0 0x0c000000 0x200000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2017-01-07 13:33:08 -07:00
|
|
|
|
|
|
|
sram-bm@1f0000 {
|
|
|
|
reg = <0x001f0000 0x8000>;
|
|
|
|
};
|
2017-01-07 13:33:08 -07:00
|
|
|
};
|
|
|
|
|
2017-01-19 10:44:11 -07:00
|
|
|
psc: power-sleep-controller@02350000 {
|
|
|
|
pscrst: reset-controller {
|
|
|
|
compatible = "ti,k2e-pscrst", "ti,syscon-reset";
|
|
|
|
#reset-cells = <1>;
|
|
|
|
|
|
|
|
ti,reset-bits = <
|
|
|
|
0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 0: dsp0 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-09-22 13:19:27 -06:00
|
|
|
dspgpio0: keystone_dsp_gpio@02620240 {
|
|
|
|
compatible = "ti,keystone-dsp-gpio";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio,syscon-dev = <&devctrl 0x240>;
|
|
|
|
};
|
2014-10-29 14:28:17 -06:00
|
|
|
|
2015-07-16 16:13:03 -06:00
|
|
|
pcie1: pcie@21020000 {
|
2014-10-29 14:28:17 -06:00
|
|
|
compatible = "ti,keystone-pcie","snps,dw-pcie";
|
|
|
|
clocks = <&clkpcie1>;
|
|
|
|
clock-names = "pcie";
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>;
|
2016-06-08 17:06:43 -06:00
|
|
|
ranges = <0x82000000 0 0x60000000 0x60000000
|
|
|
|
0 0x10000000>;
|
2014-10-29 14:28:17 -06:00
|
|
|
|
2015-07-16 16:12:57 -06:00
|
|
|
status = "disabled";
|
2014-10-29 14:28:17 -06:00
|
|
|
device_type = "pci";
|
|
|
|
num-lanes = <2>;
|
2016-06-08 17:06:43 -06:00
|
|
|
bus-range = <0x00 0xff>;
|
2014-10-29 14:28:17 -06:00
|
|
|
|
2016-06-08 17:06:43 -06:00
|
|
|
/* error interrupt */
|
|
|
|
interrupts = <GIC_SPI 385 IRQ_TYPE_EDGE_RISING>;
|
2014-10-29 14:28:17 -06:00
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-map-mask = <0 0 0 7>;
|
|
|
|
interrupt-map = <0 0 0 1 &pcie_intc1 0>, /* INT A */
|
|
|
|
<0 0 0 2 &pcie_intc1 1>, /* INT B */
|
|
|
|
<0 0 0 3 &pcie_intc1 2>, /* INT C */
|
|
|
|
<0 0 0 4 &pcie_intc1 3>; /* INT D */
|
|
|
|
|
|
|
|
pcie_msi_intc1: msi-interrupt-controller {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 379 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 380 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 381 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 382 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 383 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 384 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcie_intc1: legacy-interrupt-controller {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
|
|
|
};
|
2015-08-09 21:06:27 -06:00
|
|
|
|
|
|
|
mdio: mdio@24200f00 {
|
|
|
|
compatible = "ti,keystone_mdio", "ti,davinci_mdio";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x24200f00 0x100>;
|
|
|
|
status = "disabled";
|
|
|
|
clocks = <&clkcpgmac>;
|
|
|
|
clock-names = "fck";
|
|
|
|
bus_freq = <2500000>;
|
|
|
|
};
|
2016-03-22 10:06:22 -06:00
|
|
|
/include/ "keystone-k2e-netcp.dtsi"
|
2014-02-24 09:05:07 -07:00
|
|
|
};
|
|
|
|
};
|