Chris Packham | 17afbbf | 2018-05-17 21:46:01 +1200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | / { |
| 3 | chosen { |
| 4 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 5 | stdout-path = &uart0; |
| 6 | }; |
| 7 | |
| 8 | ocp@f1000000 { |
| 9 | pinctrl: pin-controller@10000 { |
| 10 | pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; |
| 11 | pinctrl-names = "default"; |
| 12 | |
| 13 | pmx_i2c_gpio_sda: pmx-gpio-sda { |
| 14 | marvell,pins = "mpp8"; |
| 15 | marvell,function = "gpio"; |
| 16 | }; |
| 17 | pmx_i2c_gpio_scl: pmx-gpio-scl { |
| 18 | marvell,pins = "mpp9"; |
| 19 | marvell,function = "gpio"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | serial@12000 { |
| 24 | status = "okay"; |
Pascal Linder | b75e9e3 | 2019-07-09 09:30:26 +0200 | [diff] [blame] | 25 | clock-frequency = <200000000>; |
Chris Packham | 17afbbf | 2018-05-17 21:46:01 +1200 | [diff] [blame] | 26 | }; |
| 27 | }; |
| 28 | |
| 29 | i2c { |
| 30 | compatible = "i2c-gpio"; |
| 31 | gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ |
| 32 | &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ |
| 33 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | &nand { |
| 38 | status = "okay"; |
| 39 | chip-delay = <25>; |
| 40 | }; |
| 41 | |
| 42 | &pciec { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &pcie0 { |
| 47 | status = "okay"; |
| 48 | }; |