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 | |
Linus Walleij | c023b8b | 2013-04-11 15:13:39 +0200 | [diff] [blame^] | 52 | i2c0: i2c@c0004000 { |
| 53 | compatible = "st,ddci2c"; |
| 54 | reg = <0xc0004000 0x1000>; |
| 55 | interrupt-parent = <&vicb>; |
| 56 | interrupts = <8>; |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <0>; |
| 59 | }; |
| 60 | |
| 61 | i2c1: i2c@c0005000 { |
| 62 | compatible = "st,ddci2c"; |
| 63 | reg = <0xc0005000 0x1000>; |
| 64 | interrupt-parent = <&vicb>; |
| 65 | interrupts = <9>; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <0>; |
| 68 | }; |
| 69 | |
Linus Walleij | 978577e | 2013-04-08 11:38:50 +0200 | [diff] [blame] | 70 | amba { |
| 71 | compatible = "arm,amba-bus"; |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <1>; |
| 74 | ranges; |
| 75 | |
| 76 | vica: interrupt-controller@a0001000 { |
| 77 | compatible = "arm,versatile-vic"; |
| 78 | interrupt-controller; |
| 79 | #interrupt-cells = <1>; |
| 80 | reg = <0xa0001000 0x20>; |
| 81 | }; |
| 82 | |
| 83 | vicb: interrupt-controller@a0002000 { |
| 84 | compatible = "arm,versatile-vic"; |
| 85 | interrupt-controller; |
| 86 | #interrupt-cells = <1>; |
| 87 | reg = <0xa0002000 0x20>; |
| 88 | }; |
| 89 | |
| 90 | uart0: serial@c0013000 { |
| 91 | compatible = "arm,pl011", "arm,primecell"; |
| 92 | reg = <0xc0013000 0x1000>; |
| 93 | interrupt-parent = <&vica>; |
| 94 | interrupts = <22>; |
| 95 | }; |
| 96 | |
| 97 | uart1: serial@c0007000 { |
| 98 | compatible = "arm,pl011", "arm,primecell"; |
| 99 | reg = <0xc0007000 0x1000>; |
| 100 | interrupt-parent = <&vicb>; |
| 101 | interrupts = <20>; |
| 102 | }; |
| 103 | }; |
| 104 | }; |