mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-11 05:36:17 +09:00
![Bryan Wu](/assets/img/avatar_default.png)
Enable I2C devices in DT and enable building tegra_i2c.c driver. Signed-off-by: Bryan Wu <pengw@nvidia.com> (swarren, commit msg rework, fixed DT node sort order) Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
59 lines
765 B
Plaintext
59 lines
765 B
Plaintext
#include "tegra186.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA P2771-0000";
|
|
compatible = "nvidia,p2771-0000", "nvidia,tegra186";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
sdhci0 = "/sdhci@3460000";
|
|
i2c1 = "/i2c@3160000";
|
|
i2c2 = "/i2c@c240000";
|
|
i2c3 = "/i2c@3180000";
|
|
i2c4 = "/i2c@3190000";
|
|
i2c5 = "/i2c@31c0000";
|
|
i2c6 = "/i2c@c250000";
|
|
i2c7 = "/i2c@31e0000";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x0 0x80000000 0x0 0x60000000>;
|
|
};
|
|
|
|
i2c@3160000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@3180000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@3190000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@31c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@3460000 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
};
|
|
|
|
i2c@c240000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@c250000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@31e0000 {
|
|
status = "okay";
|
|
};
|
|
};
|