-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: bcm283x: Move the BCM2837 DT contents from arm64 to arm.
BCM2837 is somewhat unusual in that we build its DT on both arm32 and arm64. Most devices are being run in arm32 mode. Having the body of the DT for 2837 separate from 2835/6 has been a source of pain, as we often need to make changes that span both directories simultaneously (for example, the thermal changes for 4.13, or anything that changes the name of a node referenced by '&' from board files). Other changes are made more complicated than they need to be, such as the SDHOST enabling, because we have to split a single logical change into a 283[56] half and a 2837 half. To fix this, make the stub board include file live in arm64 instead of arm32, and keep all of BCM283x's contents in arm32. From here on, our changes to DT contents can be submitted through a single tree. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
- Loading branch information
Eric Anholt
authored and
Florian Fainelli
committed
Jul 28, 2017
1 parent
5771a8c
commit 3bfe25f
Showing
7 changed files
with
42 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
#include "arm64/broadcom/bcm2837-rpi-3-b.dts" | ||
/dts-v1/; | ||
#include "bcm2837.dtsi" | ||
#include "bcm2835-rpi.dtsi" | ||
#include "bcm283x-rpi-smsc9514.dtsi" | ||
#include "bcm283x-rpi-usb-host.dtsi" | ||
|
||
/ { | ||
compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; | ||
model = "Raspberry Pi 3 Model B"; | ||
|
||
memory { | ||
reg = <0 0x40000000>; | ||
}; | ||
|
||
leds { | ||
act { | ||
gpios = <&gpio 47 0>; | ||
}; | ||
}; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* SDHCI is used to control the SDIO for wireless */ | ||
&sdhci { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&emmc_gpio34>; | ||
status = "okay"; | ||
bus-width = <4>; | ||
non-removable; | ||
}; | ||
|
||
/* SDHOST is used to drive the SD card */ | ||
&sdhost { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sdhost_gpio48>; | ||
status = "okay"; | ||
bus-width = <4>; | ||
}; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1 @@ | ||
/dts-v1/; | ||
#include "bcm2837.dtsi" | ||
#include "bcm2835-rpi.dtsi" | ||
#include "bcm283x-rpi-smsc9514.dtsi" | ||
#include "bcm283x-rpi-usb-host.dtsi" | ||
|
||
/ { | ||
compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; | ||
model = "Raspberry Pi 3 Model B"; | ||
|
||
memory { | ||
reg = <0 0x40000000>; | ||
}; | ||
|
||
leds { | ||
act { | ||
gpios = <&gpio 47 0>; | ||
}; | ||
}; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* SDHCI is used to control the SDIO for wireless */ | ||
&sdhci { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&emmc_gpio34>; | ||
status = "okay"; | ||
bus-width = <4>; | ||
non-removable; | ||
}; | ||
|
||
/* SDHOST is used to drive the SD card */ | ||
&sdhost { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sdhost_gpio48>; | ||
status = "okay"; | ||
bus-width = <4>; | ||
}; | ||
#include "arm/bcm2837-rpi-3-b.dts" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.