mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 21:09:00 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Unlike Linux Kernel, U-Boot historically had *.dts files under board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/. I think arch/$(ARCH)/dts dicretory is a better location to store both *.dts and *.dtsi files. For example, before this commit, board/xilinx/dts directory had both Microblaze dts (microblaze-generic.dts) and ARM dts (zynq-*.dts), which are totally unrelated. This commit moves *.dts to arch/$(ARCH)/dts/ directories, allowing us to describe nicely mutiple DTBs generation in the next commit. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
92 lines
1.5 KiB
Plaintext
92 lines
1.5 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "Toshiba AC100 / Dynabook AZ";
|
|
compatible = "compal,paz00", "nvidia,tegra20";
|
|
|
|
aliases {
|
|
usb0 = "/usb@c5008000";
|
|
sdhci0 = "/sdhci@c8000600";
|
|
sdhci1 = "/sdhci@c8000000";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x00000000 0x20000000>;
|
|
};
|
|
|
|
host1x {
|
|
status = "okay";
|
|
dc@54200000 {
|
|
status = "okay";
|
|
rgb {
|
|
status = "okay";
|
|
nvidia,panel = <&lcd_panel>;
|
|
};
|
|
};
|
|
};
|
|
|
|
serial@70006000 {
|
|
clock-frequency = < 216000000 >;
|
|
};
|
|
|
|
i2c@7000c000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c400 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c500 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000d000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5000000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5004000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
sdhci@c8000000 {
|
|
status = "okay";
|
|
cd-gpios = <&gpio 173 1>; /* gpio PV5 */
|
|
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
|
|
power-gpios = <&gpio 169 0>; /* gpio PV1 */
|
|
bus-width = <4>;
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
};
|
|
|
|
lcd_panel: panel {
|
|
/* PAZ00 has 1024x600 */
|
|
clock = <54030000>;
|
|
xres = <1024>;
|
|
yres = <600>;
|
|
right-margin = <160>;
|
|
left-margin = <24>;
|
|
hsync-len = <136>;
|
|
upper-margin = <3>;
|
|
lower-margin = <61>;
|
|
vsync-len = <6>;
|
|
hsync-active-high;
|
|
nvidia,bits-per-pixel = <16>;
|
|
nvidia,pwm = <&pwm 0 0>;
|
|
nvidia,backlight-enable-gpios = <&gpio 164 0>; /* PU4 */
|
|
nvidia,lvds-shutdown-gpios = <&gpio 102 0>; /* PM6 */
|
|
nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */
|
|
nvidia,panel-vdd-gpios = <&gpio 4 0>; /* PA4 */
|
|
nvidia,panel-timings = <400 4 203 17 15>;
|
|
};
|
|
};
|