mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
b75e9e3fce
Activate the driver model for the serial interface in the KM Kirkwood Kconfig file. The associated preprocessor definitions could be removed from the header file. However, the clock of 200 MHz needs to be declared in the device tree. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
48 lines
849 B
Text
48 lines
849 B
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/ {
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
stdout-path = &uart0;
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
pinctrl: pin-controller@10000 {
|
|
pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
|
|
pinctrl-names = "default";
|
|
|
|
pmx_i2c_gpio_sda: pmx-gpio-sda {
|
|
marvell,pins = "mpp8";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_i2c_gpio_scl: pmx-gpio-scl {
|
|
marvell,pins = "mpp9";
|
|
marvell,function = "gpio";
|
|
};
|
|
};
|
|
|
|
serial@12000 {
|
|
status = "okay";
|
|
clock-frequency = <200000000>;
|
|
};
|
|
};
|
|
|
|
i2c {
|
|
compatible = "i2c-gpio";
|
|
gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
|
|
&gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
|
i2c-gpio,delay-us = <2>; /* ~100 kHz */
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
chip-delay = <25>;
|
|
};
|
|
|
|
&pciec {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
};
|