Sebastian Hesselbarth | 1f5e6c6 | 2012-08-15 19:07:35 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "dove.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "SolidRun CuBox"; |
| 7 | compatible = "solidrun,cubox", "marvell,dove"; |
| 8 | |
| 9 | memory { |
| 10 | device_type = "memory"; |
| 11 | reg = <0x00000000 0x40000000>; |
| 12 | }; |
| 13 | |
| 14 | chosen { |
| 15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 16 | }; |
| 17 | |
| 18 | leds { |
| 19 | compatible = "gpio-leds"; |
| 20 | power { |
| 21 | label = "Power"; |
| 22 | gpios = <&gpio0 18 1>; |
| 23 | linux,default-trigger = "default-on"; |
| 24 | }; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &uart0 { status = "okay"; }; |
Sebastian Hesselbarth | 1f5e6c6 | 2012-08-15 19:07:35 +0200 | [diff] [blame] | 29 | &sata0 { status = "okay"; }; |
| 30 | &i2c0 { status = "okay"; }; |
| 31 | |
Sebastian Hesselbarth | 9e1c96e | 2012-12-18 01:24:29 +0100 | [diff] [blame] | 32 | &sdio0 { |
| 33 | status = "okay"; |
| 34 | /* sdio0 card detect is connected to wrong pin on CuBox */ |
| 35 | cd-gpios = <&gpio0 12 1>; |
| 36 | }; |
| 37 | |
Sebastian Hesselbarth | 1f5e6c6 | 2012-08-15 19:07:35 +0200 | [diff] [blame] | 38 | &spi0 { |
| 39 | status = "okay"; |
| 40 | |
| 41 | /* spi0.0: 4M Flash Winbond W25Q32BV */ |
| 42 | spi-flash@0 { |
| 43 | compatible = "st,w25q32"; |
| 44 | spi-max-frequency = <20000000>; |
| 45 | reg = <0>; |
| 46 | }; |
| 47 | }; |
Sebastian Hesselbarth | e7cd8f8 | 2012-11-19 10:39:56 +0100 | [diff] [blame] | 48 | |
| 49 | &pinctrl { |
Sebastian Hesselbarth | 9e1c96e | 2012-12-18 01:24:29 +0100 | [diff] [blame] | 50 | pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>; |
Sebastian Hesselbarth | e7cd8f8 | 2012-11-19 10:39:56 +0100 | [diff] [blame] | 51 | pinctrl-names = "default"; |
| 52 | |
Sebastian Hesselbarth | 9e1c96e | 2012-12-18 01:24:29 +0100 | [diff] [blame] | 53 | pmx_gpio_12: pmx-gpio-12 { |
| 54 | marvell,pins = "mpp12"; |
| 55 | marvell,function = "gpio"; |
| 56 | }; |
| 57 | |
Sebastian Hesselbarth | e7cd8f8 | 2012-11-19 10:39:56 +0100 | [diff] [blame] | 58 | pmx_gpio_18: pmx-gpio-18 { |
| 59 | marvell,pins = "mpp18"; |
| 60 | marvell,function = "gpio"; |
| 61 | }; |
| 62 | }; |