ARM: dts: Keystone DTS for 4.9

Add K2G nodes for GPIO, IRQ and Message Manager
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXx17yAAoJEHJsHOdBp5c/XYYQAJqObNQw1/Hc0+uQl1ZQd4nf
 m6waeFM39qaU7x0bzc6+H9s4LxEQsBi6uQfilU+/Rh44r/kmEYbmmgijSKPJcfYt
 6UNfvgIln1TPTaFNRQ0UqOTALBUY3K2SbEykfHEFNdLIRV17Z8kfXTJboHg3AgG8
 05bdrEFFZ+G1PD1eAZTU7Xi2jPi67FT8QyiGOR1uTSCSqK+jH0K8LsPtmITdM8nk
 BaEe/BEfopn3IgdViE6hPGiqTIEpHFeY2H2Umata2KBnsGXX0Tm1iq1DyXiPNwQ7
 xzbJkNwIfo7JMz94IBl/a675IUXUna1cUj2sI33UqJE6szK6qs2CHufWOp3zcnN6
 Jh1yzxRJREcTNeioeO5O7h+yA+Ip0X0OOc0Xh3PB5pVIBWXQTuSNkbmgc/LOUpyP
 8r0bpj7+zjh3C3brdUiTU3g7jXtPXNRRr+Xvrwiuzn0J8EgDsYVAEPk06rCYKp8P
 NV7GC+r7tnFI0UaVcgWZpGMZlTOYsZnntMUZJYPycd0EuUa+8uwabb8xsd4PrIvh
 +D8Wo1jnEvM5P31I+cNk7FSVcumGF6x1qtxt/ZlqPk0vnpCQKlxfG64wXIWRqDWY
 8CYMT0cH6NRQR+/VY00seLRF7LQvOOW8y0R+7lIxwWdFbrTErAnlvbPwjv+ewrFj
 I6Z/PtnurmFT0hJaP3zd
 =Zz3r
 -----END PGP SIGNATURE-----

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
This commit is contained in:
Arnd Bergmann 2016-09-13 16:21:02 +02:00
commit cbd1d63c77
6 changed files with 56 additions and 8 deletions

View File

@ -47,18 +47,26 @@
status = "okay";
};
&usb {
&keystone_usb0 {
status = "okay";
};
&usb0 {
dr_mode = "host";
};
&usb1_phy {
status = "okay";
};
&usb1 {
&keystone_usb1 {
status = "okay";
};
&usb1 {
dr_mode = "peripheral";
};
&i2c0 {
dtt@50 {
compatible = "at,24c1024";

View File

@ -61,7 +61,7 @@
status = "disabled";
};
usb1: usb@25000000 {
keystone_usb1: usb@25000000 {
compatible = "ti,keystone-dwc3";
#address-cells = <1>;
#size-cells = <1>;
@ -74,7 +74,7 @@
dma-ranges;
status = "disabled";
dwc3@25010000 {
usb1: dwc3@25010000 {
compatible = "synopsys,dwc3";
reg = <0x25010000 0x70000>;
interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;

View File

@ -83,6 +83,11 @@
pinctrl-single,function-mask = <0x001b0007>;
};
devctrl: device-state-control@02620000 {
compatible = "ti,keystone-devctrl", "syscon";
reg = <0x02620000 0x1000>;
};
uart0: serial@02530c00 {
compatible = "ns16550a";
current-speed = <115200>;
@ -93,5 +98,32 @@
clock-frequency = <200000000>;
status = "disabled";
};
kirq0: keystone_irq@026202a0 {
compatible = "ti,keystone-irq";
interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
interrupt-controller;
#interrupt-cells = <1>;
ti,syscon-dev = <&devctrl 0x2a0>;
};
dspgpio0: keystone_dsp_gpio@02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
msgmgr: msgmgr@02a00000 {
compatible = "ti,k2g-message-manager";
#mbox-cells = <2>;
reg-names = "queue_proxy_region",
"queue_state_debug_region";
reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
interrupt-names = "rx_005",
"rx_057";
interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
};
};
};

View File

@ -83,10 +83,14 @@
status = "okay";
};
&usb {
&keystone_usb0 {
status = "okay";
};
&usb0 {
dr_mode = "host";
};
&aemif {
cs0 {
#address-cells = <2>;

View File

@ -32,10 +32,14 @@
status = "okay";
};
&usb {
&keystone_usb0 {
status = "okay";
};
&usb0 {
dr_mode = "host";
};
&i2c0 {
dtt@50 {
compatible = "at,24c1024";

View File

@ -188,7 +188,7 @@
status = "disabled";
};
usb: usb@2680000 {
keystone_usb0: usb@2680000 {
compatible = "ti,keystone-dwc3";
#address-cells = <1>;
#size-cells = <1>;
@ -201,7 +201,7 @@
dma-ranges;
status = "disabled";
dwc3@2690000 {
usb0: dwc3@2690000 {
compatible = "synopsys,dwc3";
reg = <0x2690000 0x70000>;
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;