Valentin Longchamp | 35f5c69 | 2014-05-16 10:49:02 +0200 | [diff] [blame] | 1 | / { |
| 2 | chosen { |
| 3 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 4 | stdout-path = &uart0; |
| 5 | }; |
| 6 | |
| 7 | mbus { |
| 8 | pcie-controller { |
| 9 | status = "okay"; |
| 10 | |
| 11 | pcie@1,0 { |
| 12 | status = "okay"; |
| 13 | }; |
| 14 | }; |
| 15 | }; |
| 16 | |
| 17 | ocp@f1000000 { |
| 18 | pinctrl: pin-controller@10000 { |
| 19 | pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; |
| 20 | pinctrl-names = "default"; |
| 21 | |
| 22 | pmx_i2c_gpio_sda: pmx-gpio-sda { |
| 23 | marvell,pins = "mpp8"; |
| 24 | marvell,function = "gpio"; |
| 25 | }; |
| 26 | pmx_i2c_gpio_scl: pmx-gpio-scl { |
| 27 | marvell,pins = "mpp9"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | serial@12000 { |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | i2c@0 { |
| 38 | compatible = "i2c-gpio"; |
| 39 | gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ |
| 40 | &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ |
| 41 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &nand { |
| 46 | status = "okay"; |
| 47 | chip-delay = <25>; |
| 48 | }; |