Skip to content

Commit cbd1d63

Browse files
committed
Merge tag 'keystone_dts_for_4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt
Merge "ARM: dts: Keystone DTS for 4.9" from Santosh Shilimkar Add K2G nodes for GPIO, IRQ and Message Manager * tag 'keystone_dts_for_4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone: ARM: dts: keystone-k2g: Add Message Manager node ARM: dts: keystone-k2g: Add DSP GPIO controller node ARM: dts: keystone-k2g: Add keystone IRQ controller node ARM: dts: keystone-k2g: Add device state controller node ARM: dts: keystone: specify usb mode explicitly
2 parents 30d430d + 11b897a commit cbd1d63

File tree

6 files changed

+56
-8
lines changed

6 files changed

+56
-8
lines changed

arch/arm/boot/dts/keystone-k2e-evm.dts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,26 @@
4747
status = "okay";
4848
};
4949

50-
&usb {
50+
&keystone_usb0 {
5151
status = "okay";
5252
};
5353

54+
&usb0 {
55+
dr_mode = "host";
56+
};
57+
5458
&usb1_phy {
5559
status = "okay";
5660
};
5761

58-
&usb1 {
62+
&keystone_usb1 {
5963
status = "okay";
6064
};
6165

66+
&usb1 {
67+
dr_mode = "peripheral";
68+
};
69+
6270
&i2c0 {
6371
dtt@50 {
6472
compatible = "at,24c1024";

arch/arm/boot/dts/keystone-k2e.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
status = "disabled";
6262
};
6363

64-
usb1: usb@25000000 {
64+
keystone_usb1: usb@25000000 {
6565
compatible = "ti,keystone-dwc3";
6666
#address-cells = <1>;
6767
#size-cells = <1>;
@@ -74,7 +74,7 @@
7474
dma-ranges;
7575
status = "disabled";
7676

77-
dwc3@25010000 {
77+
usb1: dwc3@25010000 {
7878
compatible = "synopsys,dwc3";
7979
reg = <0x25010000 0x70000>;
8080
interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;

arch/arm/boot/dts/keystone-k2g.dtsi

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@
8383
pinctrl-single,function-mask = <0x001b0007>;
8484
};
8585

86+
devctrl: device-state-control@02620000 {
87+
compatible = "ti,keystone-devctrl", "syscon";
88+
reg = <0x02620000 0x1000>;
89+
};
90+
8691
uart0: serial@02530c00 {
8792
compatible = "ns16550a";
8893
current-speed = <115200>;
@@ -93,5 +98,32 @@
9398
clock-frequency = <200000000>;
9499
status = "disabled";
95100
};
101+
102+
kirq0: keystone_irq@026202a0 {
103+
compatible = "ti,keystone-irq";
104+
interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
105+
interrupt-controller;
106+
#interrupt-cells = <1>;
107+
ti,syscon-dev = <&devctrl 0x2a0>;
108+
};
109+
110+
dspgpio0: keystone_dsp_gpio@02620240 {
111+
compatible = "ti,keystone-dsp-gpio";
112+
gpio-controller;
113+
#gpio-cells = <2>;
114+
gpio,syscon-dev = <&devctrl 0x240>;
115+
};
116+
117+
msgmgr: msgmgr@02a00000 {
118+
compatible = "ti,k2g-message-manager";
119+
#mbox-cells = <2>;
120+
reg-names = "queue_proxy_region",
121+
"queue_state_debug_region";
122+
reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
123+
interrupt-names = "rx_005",
124+
"rx_057";
125+
interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
126+
<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
127+
};
96128
};
97129
};

arch/arm/boot/dts/keystone-k2hk-evm.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@
8383
status = "okay";
8484
};
8585

86-
&usb {
86+
&keystone_usb0 {
8787
status = "okay";
8888
};
8989

90+
&usb0 {
91+
dr_mode = "host";
92+
};
93+
9094
&aemif {
9195
cs0 {
9296
#address-cells = <2>;

arch/arm/boot/dts/keystone-k2l-evm.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@
3232
status = "okay";
3333
};
3434

35-
&usb {
35+
&keystone_usb0 {
3636
status = "okay";
3737
};
3838

39+
&usb0 {
40+
dr_mode = "host";
41+
};
42+
3943
&i2c0 {
4044
dtt@50 {
4145
compatible = "at,24c1024";

arch/arm/boot/dts/keystone.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
status = "disabled";
189189
};
190190

191-
usb: usb@2680000 {
191+
keystone_usb0: usb@2680000 {
192192
compatible = "ti,keystone-dwc3";
193193
#address-cells = <1>;
194194
#size-cells = <1>;
@@ -201,7 +201,7 @@
201201
dma-ranges;
202202
status = "disabled";
203203

204-
dwc3@2690000 {
204+
usb0: dwc3@2690000 {
205205
compatible = "synopsys,dwc3";
206206
reg = <0x2690000 0x70000>;
207207
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;

0 commit comments

Comments
 (0)