mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Lokesh Vutla](/assets/img/avatar_default.png)
With DM enabled, gpio numbering is assigned based on the probed order of gpios, irrespective of the gpio base. So enable all necessary gpios in SPL. Fixes: edf25d94d55c (“ARM: dts: OMAP5+: Enable gpio in SPL”) Reported-by: Gou, Hongmei <h-gou@ti.com> Tested-by: Aparna Balasubramanian <aparnab@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
90 lines
977 B
Plaintext
90 lines
977 B
Plaintext
/*
|
|
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
* Based on "dra7.dtsi"
|
|
*/
|
|
|
|
/{
|
|
chosen {
|
|
tick-timer = &timer2;
|
|
};
|
|
|
|
ocp {
|
|
u-boot,dm-spl;
|
|
|
|
ocp2scp@4a090000 {
|
|
compatible = "ti,omap-ocp2scp", "simple-bus";
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
u-boot,dm-spl;
|
|
reg-shift = <2>;
|
|
};
|
|
|
|
&uart3 {
|
|
u-boot,dm-spl;
|
|
reg-shift = <2>;
|
|
};
|
|
|
|
&mmc1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&mmc2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&l4_cfg {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&scm {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&scm_conf {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&qspi {
|
|
u-boot,dm-spl;
|
|
|
|
m25p80@0 {
|
|
compatible = "spi-flash";
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
&gpio1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio3 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio4 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio5 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio6 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio7 {
|
|
u-boot,dm-spl;
|
|
};
|