mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
arm: dts: socfpga: Fix SPI aliases
The SPI aliases are completely wrong. First, they point to non-existing /spi@.* nodes instead of the correct /soc/spi@.* nodes. Second, the use ad-hoc string instead of a handle. Furthermore, they are copied multiple times in each board DTS. So fix it such that we move these into socfpga.dtsi and make them use the usual handles. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
This commit is contained in:
parent
bfa89d2ba8
commit
b09b72d83b
4 changed files with 5 additions and 16 deletions
|
@ -20,6 +20,9 @@
|
||||||
timer1 = &timer1;
|
timer1 = &timer1;
|
||||||
timer2 = &timer2;
|
timer2 = &timer2;
|
||||||
timer3 = &timer3;
|
timer3 = &timer3;
|
||||||
|
spi0 = &qspi;
|
||||||
|
spi1 = &spi0;
|
||||||
|
spi2 = &spi1;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
|
|
|
@ -25,10 +25,6 @@
|
||||||
* to be added to the gmac1 device tree blob.
|
* to be added to the gmac1 device tree blob.
|
||||||
*/
|
*/
|
||||||
ethernet0 = &gmac1;
|
ethernet0 = &gmac1;
|
||||||
|
|
||||||
spi0 = "/spi@ff705000"; /* QSPI */
|
|
||||||
spi1 = "/spi@fff00000";
|
|
||||||
spi2 = "/spi@fff01000";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator_3_3v: 3-3-v-regulator {
|
regulator_3_3v: 3-3-v-regulator {
|
||||||
|
|
|
@ -25,10 +25,6 @@
|
||||||
* to be added to the gmac1 device tree blob.
|
* to be added to the gmac1 device tree blob.
|
||||||
*/
|
*/
|
||||||
ethernet0 = &gmac1;
|
ethernet0 = &gmac1;
|
||||||
|
|
||||||
spi0 = "/spi@ff705000"; /* QSPI */
|
|
||||||
spi1 = "/spi@fff00000";
|
|
||||||
spi2 = "/spi@fff01000";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator_3_3v: 3-3-v-regulator {
|
regulator_3_3v: 3-3-v-regulator {
|
||||||
|
|
|
@ -14,12 +14,6 @@
|
||||||
bootargs = "console=ttyS0,115200";
|
bootargs = "console=ttyS0,115200";
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
|
||||||
spi0 = "/spi@ff705000"; /* QSPI */
|
|
||||||
spi1 = "/spi@fff00000";
|
|
||||||
spi2 = "/spi@fff01000";
|
|
||||||
};
|
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
name = "memory";
|
name = "memory";
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
|
|
Loading…
Add table
Reference in a new issue