xref: /linux/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi (revision e7d759f31ca295d589f7420719c311870bb3166f)
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";
25		};
26	};
27
28	i2c {
29		compatible = "i2c-gpio";
30		gpios = < &gpio0 8 GPIO_ACTIVE_HIGH		/* sda */
31			  &gpio0 9 GPIO_ACTIVE_HIGH>;		/* scl */
32		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
33	};
34};
35
36&nand {
37	status = "okay";
38	chip-delay = <25>;
39};
40
41&pciec {
42	status = "okay";
43};
44
45&pcie0 {
46	status = "okay";
47};
48