mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 08:43:07 +00:00
25e88d406e
The device tree source files of at91sam9x5ek board are copied from the Linux v4.10, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc" property to determine which nodes are used by the board_init_f stage. - Change the compatible of the spi flash to "spi-flash". - Add the spi0 aliases. - Fix the compilation warnings. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
69 lines
1.4 KiB
Text
69 lines
1.4 KiB
Text
/*
|
|
* at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
|
|
*
|
|
* Copyright (C) 2012 Atmel,
|
|
* 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91sam9g25.dtsi"
|
|
#include "at91sam9x5ek.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9G25-EK";
|
|
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
ahb {
|
|
apb {
|
|
spi0: spi@f0000000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
mmc1: mmc@f000c000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c0: i2c@f8010000 {
|
|
ov2640: camera@0x30 {
|
|
compatible = "ovti,ov2640";
|
|
reg = <0x30>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
|
|
resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
|
|
pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
|
|
clocks = <&pck0>;
|
|
clock-names = "xvclk";
|
|
assigned-clocks = <&pck0>;
|
|
assigned-clock-rates = <25000000>;
|
|
status = "okay";
|
|
|
|
port {
|
|
ov2640_0: endpoint {
|
|
remote-endpoint = <&isi_0>;
|
|
bus-width = <8>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
macb0: ethernet@f802c000 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
|
|
isi: isi@f8048000 {
|
|
status = "okay";
|
|
port {
|
|
isi_0: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&ov2640_0>;
|
|
bus-width = <8>;
|
|
vsync-active = <1>;
|
|
hsync-active = <1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|