Linus Walleij | 978577e | 2013-04-08 11:38:50 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree for the ST-Ericsson U300 Machine and SoC |
| 3 | */ |
| 4 | |
| 5 | /dts-v1/; |
| 6 | /include/ "skeleton.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "ST-Ericsson U300"; |
| 10 | compatible = "stericsson,u300"; |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <1>; |
| 13 | |
| 14 | chosen { |
| 15 | bootargs = "root=/dev/ram0 console=ttyAMA0,115200n8 earlyprintk"; |
| 16 | }; |
| 17 | |
| 18 | aliases { |
| 19 | serial0 = &uart0; |
| 20 | serial1 = &uart1; |
| 21 | }; |
| 22 | |
| 23 | memory { |
| 24 | reg = <0x48000000 0x03c00000>; |
| 25 | }; |
| 26 | |
| 27 | timer: timer@c0014000 { |
| 28 | compatible = "stericsson,u300-apptimer"; |
| 29 | reg = <0xc0014000 0x1000>; |
| 30 | interrupt-parent = <&vica>; |
| 31 | interrupts = <24 25 26 27>; |
| 32 | }; |
| 33 | |
| 34 | gpio: gpio@c0016000 { |
| 35 | compatible = "stericsson,gpio-coh901"; |
| 36 | reg = <0xc0016000 0x1000>; |
| 37 | interrupt-parent = <&vicb>; |
| 38 | interrupts = <0 1 2 18 21 22 23>; |
| 39 | interrupt-names = "gpio0", "gpio1", "gpio2", "gpio3", |
| 40 | "gpio4", "gpio5", "gpio6"; |
| 41 | interrupt-controller; |
| 42 | #interrupt-cells = <2>; |
| 43 | gpio-controller; |
| 44 | #gpio-cells = <2>; |
| 45 | }; |
| 46 | |
| 47 | pinctrl: pinctrl@c0011000 { |
| 48 | compatible = "stericsson,pinctrl-u300"; |
| 49 | reg = <0xc0011000 0x1000>; |
| 50 | }; |
| 51 | |
| 52 | amba { |
| 53 | compatible = "arm,amba-bus"; |
| 54 | #address-cells = <1>; |
| 55 | #size-cells = <1>; |
| 56 | ranges; |
| 57 | |
| 58 | vica: interrupt-controller@a0001000 { |
| 59 | compatible = "arm,versatile-vic"; |
| 60 | interrupt-controller; |
| 61 | #interrupt-cells = <1>; |
| 62 | reg = <0xa0001000 0x20>; |
| 63 | }; |
| 64 | |
| 65 | vicb: interrupt-controller@a0002000 { |
| 66 | compatible = "arm,versatile-vic"; |
| 67 | interrupt-controller; |
| 68 | #interrupt-cells = <1>; |
| 69 | reg = <0xa0002000 0x20>; |
| 70 | }; |
| 71 | |
| 72 | uart0: serial@c0013000 { |
| 73 | compatible = "arm,pl011", "arm,primecell"; |
| 74 | reg = <0xc0013000 0x1000>; |
| 75 | interrupt-parent = <&vica>; |
| 76 | interrupts = <22>; |
| 77 | }; |
| 78 | |
| 79 | uart1: serial@c0007000 { |
| 80 | compatible = "arm,pl011", "arm,primecell"; |
| 81 | reg = <0xc0007000 0x1000>; |
| 82 | interrupt-parent = <&vicb>; |
| 83 | interrupts = <20>; |
| 84 | }; |
| 85 | }; |
| 86 | }; |