2013-10-08 15:47:40 +08:00
|
|
|
#include <dt-bindings/clock/tegra124-car.h>
|
2013-08-06 07:10:02 +08:00
|
|
|
#include <dt-bindings/gpio/tegra-gpio.h>
|
2013-10-08 12:50:05 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
|
|
|
|
#include "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "nvidia,tegra124";
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
|
|
|
gic: interrupt-controller@50041000 {
|
|
|
|
compatible = "arm,cortex-a15-gic";
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0x50041000 0x1000>,
|
|
|
|
<0x50042000 0x1000>,
|
|
|
|
<0x50044000 0x2000>,
|
|
|
|
<0x50046000 0x2000>;
|
|
|
|
interrupts = <GIC_PPI 9
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
timer@60005000 {
|
|
|
|
compatible = "nvidia,tegra124-timer", "nvidia,tegra20-timer";
|
|
|
|
reg = <0x60005000 0x400>;
|
|
|
|
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_TIMER>;
|
|
|
|
};
|
|
|
|
|
|
|
|
tegra_car: clock@60006000 {
|
|
|
|
compatible = "nvidia,tegra124-car";
|
|
|
|
reg = <0x60006000 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
2013-11-08 03:20:57 +08:00
|
|
|
#reset-cells = <1>;
|
2013-10-08 12:50:05 +08:00
|
|
|
};
|
|
|
|
|
2013-08-06 07:10:02 +08:00
|
|
|
gpio: gpio@6000d000 {
|
|
|
|
compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio";
|
|
|
|
reg = <0x6000d000 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
};
|
|
|
|
|
2013-11-16 03:22:53 +08:00
|
|
|
apbdma: dma@60020000 {
|
|
|
|
compatible = "nvidia,tegra124-apbdma", "nvidia,tegra148-apbdma";
|
|
|
|
reg = <0x60020000 0x1400>;
|
|
|
|
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 110 IR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GH>,
|
|
|
|
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_APBDMA>;
|
|
|
|
resets = <&tegra_car 34>;
|
|
|
|
reset-names = "dma";
|
|
|
|
#dma-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2013-11-02 04:03:59 +08:00
|
|
|
pinmux: pinmux@70000868 {
|
|
|
|
compatible = "nvidia,tegra124-pinmux";
|
|
|
|
reg = <0x70000868 0x164>, /* Pad control registers */
|
|
|
|
<0x70003000 0x434>; /* Mux registers */
|
|
|
|
};
|
|
|
|
|
2013-10-08 12:50:05 +08:00
|
|
|
/*
|
|
|
|
* There are two serial driver i.e. 8250 based simple serial
|
|
|
|
* driver and APB DMA based serial driver for higher baudrate
|
|
|
|
* and performace. To enable the 8250 based driver, the compatible
|
|
|
|
* is "nvidia,tegra124-uart", "nvidia,tegra20-uart" and to enable
|
|
|
|
* the APB DMA based serial driver, the comptible is
|
|
|
|
* "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart".
|
|
|
|
*/
|
|
|
|
serial@70006000 {
|
|
|
|
compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
|
|
|
|
reg = <0x70006000 0x40>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_UARTA>;
|
2013-11-08 03:20:57 +08:00
|
|
|
resets = <&tegra_car 6>;
|
|
|
|
reset-names = "serial";
|
2013-11-16 03:22:53 +08:00
|
|
|
dmas = <&apbdma 8>, <&apbdma 8>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-10-08 12:50:05 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@70006040 {
|
|
|
|
compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
|
|
|
|
reg = <0x70006040 0x40>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_UARTB>;
|
2013-11-08 03:20:57 +08:00
|
|
|
resets = <&tegra_car 7>;
|
|
|
|
reset-names = "serial";
|
2013-11-16 03:22:53 +08:00
|
|
|
dmas = <&apbdma 9>, <&apbdma 9>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-10-08 12:50:05 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@70006200 {
|
|
|
|
compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
|
|
|
|
reg = <0x70006200 0x40>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_UARTC>;
|
2013-11-08 03:20:57 +08:00
|
|
|
resets = <&tegra_car 55>;
|
|
|
|
reset-names = "serial";
|
2013-11-16 03:22:53 +08:00
|
|
|
dmas = <&apbdma 10>, <&apbdma 10>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-10-08 12:50:05 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@70006300 {
|
|
|
|
compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
|
|
|
|
reg = <0x70006300 0x40>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_UARTD>;
|
2013-11-08 03:20:57 +08:00
|
|
|
resets = <&tegra_car 65>;
|
|
|
|
reset-names = "serial";
|
2013-11-16 03:22:53 +08:00
|
|
|
dmas = <&apbdma 19>, <&apbdma 19>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-10-08 12:50:05 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@70006400 {
|
|
|
|
compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
|
|
|
|
reg = <0x70006400 0x40>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_UARTE>;
|
2013-11-08 03:20:57 +08:00
|
|
|
resets = <&tegra_car 66>;
|
|
|
|
reset-names = "serial";
|
2013-11-16 03:22:53 +08:00
|
|
|
dmas = <&apbdma 20>, <&apbdma 20>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-10-08 12:50:05 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2013-12-04 07:29:04 +08:00
|
|
|
i2c@7000c000 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000c000 0x100>;
|
|
|
|
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C1>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 12>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 21>, <&apbdma 21>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c400 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000c400 0x100>;
|
|
|
|
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C2>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 54>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 22>, <&apbdma 22>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c500 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000c500 0x100>;
|
|
|
|
interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C3>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 67>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 23>, <&apbdma 23>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c700 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000c700 0x100>;
|
|
|
|
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C4>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 103>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 26>, <&apbdma 26>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000d000 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000d000 0x100>;
|
|
|
|
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C5>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 47>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 24>, <&apbdma 24>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000d100 {
|
|
|
|
compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
|
|
|
|
reg = <0x7000d100 0x100>;
|
|
|
|
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_I2C6>;
|
|
|
|
clock-names = "div-clk";
|
|
|
|
resets = <&tegra_car 166>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
dmas = <&apbdma 30>, <&apbdma 30>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2013-10-08 12:50:05 +08:00
|
|
|
rtc@7000e000 {
|
|
|
|
compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
|
|
|
|
reg = <0x7000e000 0x100>;
|
|
|
|
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_RTC>;
|
2013-10-08 12:50:05 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
pmc@7000e400 {
|
|
|
|
compatible = "nvidia,tegra124-pmc";
|
|
|
|
reg = <0x7000e400 0x400>;
|
2013-10-08 15:47:40 +08:00
|
|
|
clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>;
|
|
|
|
clock-names = "pclk", "clk32k_in";
|
2013-10-08 12:50:05 +08:00
|
|
|
};
|
|
|
|
|
2013-11-01 07:23:05 +08:00
|
|
|
sdhci@700b0000 {
|
|
|
|
compatible = "nvidia,tegra124-sdhci";
|
|
|
|
reg = <0x700b0000 0x200>;
|
|
|
|
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_SDMMC1>;
|
|
|
|
resets = <&tegra_car 14>;
|
|
|
|
reset-names = "sdhci";
|
|
|
|
status = "disable";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@700b0200 {
|
|
|
|
compatible = "nvidia,tegra124-sdhci";
|
|
|
|
reg = <0x700b0200 0x200>;
|
|
|
|
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_SDMMC2>;
|
|
|
|
resets = <&tegra_car 9>;
|
|
|
|
reset-names = "sdhci";
|
|
|
|
status = "disable";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@700b0400 {
|
|
|
|
compatible = "nvidia,tegra124-sdhci";
|
|
|
|
reg = <0x700b0400 0x200>;
|
|
|
|
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_SDMMC3>;
|
|
|
|
resets = <&tegra_car 69>;
|
|
|
|
reset-names = "sdhci";
|
|
|
|
status = "disable";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@700b0600 {
|
|
|
|
compatible = "nvidia,tegra124-sdhci";
|
|
|
|
reg = <0x700b0600 0x200>;
|
|
|
|
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&tegra_car TEGRA124_CLK_SDMMC4>;
|
|
|
|
resets = <&tegra_car 15>;
|
|
|
|
reset-names = "sdhci";
|
|
|
|
status = "disable";
|
|
|
|
};
|
|
|
|
|
2013-10-08 12:50:05 +08:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
reg = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a15";
|
|
|
|
reg = <3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
timer {
|
|
|
|
compatible = "arm,armv7-timer";
|
|
|
|
interrupts = <GIC_PPI 13
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 14
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 11
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 10
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
|
|
|
|
};
|
|
|
|
};
|