xref: /openbmc/u-boot/arch/arm/dts/keystone-k2l.dtsi (revision f0a3f3492ac197ea89be58a29aed7500aad5542d)
1*f0a3f349SLokesh Vutla/*
2*f0a3f349SLokesh Vutla * Copyright 2014 Texas Instruments, Inc.
3*f0a3f349SLokesh Vutla *
4*f0a3f349SLokesh Vutla * Keystone 2 Lamarr SoC specific device tree
5*f0a3f349SLokesh Vutla *
6*f0a3f349SLokesh Vutla * This program is free software; you can redistribute it and/or modify
7*f0a3f349SLokesh Vutla * it under the terms of the GNU General Public License version 2 as
8*f0a3f349SLokesh Vutla * published by the Free Software Foundation.
9*f0a3f349SLokesh Vutla */
10*f0a3f349SLokesh Vutla
11*f0a3f349SLokesh Vutla/ {
12*f0a3f349SLokesh Vutla	cpus {
13*f0a3f349SLokesh Vutla		#address-cells = <1>;
14*f0a3f349SLokesh Vutla		#size-cells = <0>;
15*f0a3f349SLokesh Vutla
16*f0a3f349SLokesh Vutla		interrupt-parent = <&gic>;
17*f0a3f349SLokesh Vutla
18*f0a3f349SLokesh Vutla		cpu@0 {
19*f0a3f349SLokesh Vutla			compatible = "arm,cortex-a15";
20*f0a3f349SLokesh Vutla			device_type = "cpu";
21*f0a3f349SLokesh Vutla			reg = <0>;
22*f0a3f349SLokesh Vutla		};
23*f0a3f349SLokesh Vutla
24*f0a3f349SLokesh Vutla		cpu@1 {
25*f0a3f349SLokesh Vutla			compatible = "arm,cortex-a15";
26*f0a3f349SLokesh Vutla			device_type = "cpu";
27*f0a3f349SLokesh Vutla			reg = <1>;
28*f0a3f349SLokesh Vutla		};
29*f0a3f349SLokesh Vutla	};
30*f0a3f349SLokesh Vutla
31*f0a3f349SLokesh Vutla	soc {
32*f0a3f349SLokesh Vutla		/include/ "keystone-k2l-clocks.dtsi"
33*f0a3f349SLokesh Vutla
34*f0a3f349SLokesh Vutla		uart2: serial@02348400 {
35*f0a3f349SLokesh Vutla			compatible = "ns16550a";
36*f0a3f349SLokesh Vutla			current-speed = <115200>;
37*f0a3f349SLokesh Vutla			reg-shift = <2>;
38*f0a3f349SLokesh Vutla			reg-io-width = <4>;
39*f0a3f349SLokesh Vutla			reg = <0x02348400 0x100>;
40*f0a3f349SLokesh Vutla			clocks	= <&clkuart2>;
41*f0a3f349SLokesh Vutla			interrupts = <GIC_SPI 432 IRQ_TYPE_EDGE_RISING>;
42*f0a3f349SLokesh Vutla		};
43*f0a3f349SLokesh Vutla
44*f0a3f349SLokesh Vutla		uart3:	serial@02348800 {
45*f0a3f349SLokesh Vutla			compatible = "ns16550a";
46*f0a3f349SLokesh Vutla			current-speed = <115200>;
47*f0a3f349SLokesh Vutla			reg-shift = <2>;
48*f0a3f349SLokesh Vutla			reg-io-width = <4>;
49*f0a3f349SLokesh Vutla			reg = <0x02348800 0x100>;
50*f0a3f349SLokesh Vutla			clocks	= <&clkuart3>;
51*f0a3f349SLokesh Vutla			interrupts = <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>;
52*f0a3f349SLokesh Vutla		};
53*f0a3f349SLokesh Vutla
54*f0a3f349SLokesh Vutla		dspgpio0: keystone_dsp_gpio@02620240 {
55*f0a3f349SLokesh Vutla			compatible = "ti,keystone-dsp-gpio";
56*f0a3f349SLokesh Vutla			gpio-controller;
57*f0a3f349SLokesh Vutla			#gpio-cells = <2>;
58*f0a3f349SLokesh Vutla			gpio,syscon-dev = <&devctrl 0x240>;
59*f0a3f349SLokesh Vutla		};
60*f0a3f349SLokesh Vutla
61*f0a3f349SLokesh Vutla		dspgpio1: keystone_dsp_gpio@2620244 {
62*f0a3f349SLokesh Vutla			compatible = "ti,keystone-dsp-gpio";
63*f0a3f349SLokesh Vutla			gpio-controller;
64*f0a3f349SLokesh Vutla			#gpio-cells = <2>;
65*f0a3f349SLokesh Vutla			gpio,syscon-dev = <&devctrl 0x244>;
66*f0a3f349SLokesh Vutla		};
67*f0a3f349SLokesh Vutla
68*f0a3f349SLokesh Vutla		dspgpio2: keystone_dsp_gpio@2620248 {
69*f0a3f349SLokesh Vutla			compatible = "ti,keystone-dsp-gpio";
70*f0a3f349SLokesh Vutla			gpio-controller;
71*f0a3f349SLokesh Vutla			#gpio-cells = <2>;
72*f0a3f349SLokesh Vutla			gpio,syscon-dev = <&devctrl 0x248>;
73*f0a3f349SLokesh Vutla		};
74*f0a3f349SLokesh Vutla
75*f0a3f349SLokesh Vutla		dspgpio3: keystone_dsp_gpio@262024c {
76*f0a3f349SLokesh Vutla			compatible = "ti,keystone-dsp-gpio";
77*f0a3f349SLokesh Vutla			gpio-controller;
78*f0a3f349SLokesh Vutla			#gpio-cells = <2>;
79*f0a3f349SLokesh Vutla			gpio,syscon-dev = <&devctrl 0x24c>;
80*f0a3f349SLokesh Vutla		};
81*f0a3f349SLokesh Vutla
82*f0a3f349SLokesh Vutla		mdio: mdio@26200f00 {
83*f0a3f349SLokesh Vutla			compatible	= "ti,keystone_mdio", "ti,davinci_mdio";
84*f0a3f349SLokesh Vutla			#address-cells = <1>;
85*f0a3f349SLokesh Vutla			#size-cells = <0>;
86*f0a3f349SLokesh Vutla			reg = <0x26200f00 0x100>;
87*f0a3f349SLokesh Vutla			status = "disabled";
88*f0a3f349SLokesh Vutla			clocks = <&clkcpgmac>;
89*f0a3f349SLokesh Vutla			clock-names = "fck";
90*f0a3f349SLokesh Vutla			bus_freq	= <2500000>;
91*f0a3f349SLokesh Vutla		};
92*f0a3f349SLokesh Vutla		/include/ "keystone-k2l-netcp.dtsi"
93*f0a3f349SLokesh Vutla	};
94*f0a3f349SLokesh Vutla};
95*f0a3f349SLokesh Vutla
96*f0a3f349SLokesh Vutla&spi0 {
97*f0a3f349SLokesh Vutla       ti,davinci-spi-num-cs = <5>;
98*f0a3f349SLokesh Vutla};
99*f0a3f349SLokesh Vutla
100*f0a3f349SLokesh Vutla&spi1 {
101*f0a3f349SLokesh Vutla       ti,davinci-spi-num-cs = <3>;
102*f0a3f349SLokesh Vutla};
103*f0a3f349SLokesh Vutla
104*f0a3f349SLokesh Vutla&spi2 {
105*f0a3f349SLokesh Vutla       ti,davinci-spi-num-cs = <5>;
106*f0a3f349SLokesh Vutla       /* Pin muxed. Enabled and configured by Bootloader */
107*f0a3f349SLokesh Vutla       status = "disabled";
108*f0a3f349SLokesh Vutla};
109