Kevin Cernekee
8945e37e10
MIPS: BMIPS: Add DTS files for several platforms
...
Most of the supported chips use legacy (non-DT) bootloaders, so they will
need to select an appropriate builtin DTB at compile time until the
bootloader is updated. Provide suitable DTS files, and a means to compile
one of them into the kernel image.
Signed-off-by: Kevin Cernekee <[email protected] >
Signed-off-by: Jaedon Shin <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8858/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:42 +02:00
Kevin Cernekee
cd586ebc32
MIPS: BMIPS: Refresh BCM3384 DTS files
...
The DT bindings for this platform have changed as the bootloader and
product requirements evolved. In particular, there are both
Linux-on-Zephyr and Linux-on-Viper configurations.
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8856/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:42 +02:00
Kevin Cernekee
5f2d44591f
MIPS: bcm3384: Rename "bcm3384" target to "bmips"
...
This platform is configured primarily through device tree, and we can
reuse the same code to support a bunch of other chips. Change the name
to reflect this.
[[email protected] : Fix conflicts with other patches.]
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8838/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:35 +02:00
Andrew Bresticker
8c0b9ee866
MIPS: Move device-trees into vendor sub-directories
...
Move the MIPS device-trees into the appropriate vendor sub-directories.
Signed-off-by: Andrew Bresticker <[email protected] >
Tested-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8835/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:34 +02:00
Kevin Cernekee
d666cd0246
MIPS: bcm3384: Initial commit of bcm3384 platform support
...
This supports SMP Linux running on the BCM3384 Zephyr (BMIPS5000)
application processor, with fully functional UART and USB 1.1/2.0.
Device Tree is used to configure the following items:
- All peripherals
- Early console base address
- SMP or UP mode
- MIPS counter frequency
- Memory size / regions
- DMA offset
- Kernel command line
The DT-enabled bootloader and build instructions are posted at
https://github.com/Broadcom/aeolus
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8170/
Signed-off-by: Ralf Baechle <[email protected] >
2014-11-24 07:45:13 +01:00
Andrew Bresticker
011eeece0b
MIPS: ralink: Move device-trees to arch/mips/boot/dts/
...
Move the Ralink device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. A built-in device-tree is optional, so select
BUILTIN_DTB when it is requested.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7561/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:50 +02:00
Andrew Bresticker
36094619e4
MIPS: Netlogic: Move device-trees to arch/mips/boot/dts/
...
Move the Netlogic XLP device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. A built-in device-tree is optional, so select
BUILTIN_DTB when it is requested.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7560/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:50 +02:00
Andrew Bresticker
f262b5f2d5
MIPS: sead3: Move device-trees to arch/mips/boot/dts/
...
Move the SEAD-3 device-tree to arch/mips/boot/dts/ and update the
Makefiles accordingly. Since SEAD-3 requires the device-tree to be
built into the kernel, select BUILTIN_DTB when building for SEAD-3.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7555/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:50 +02:00
Andrew Bresticker
3229a6d865
MIPS: Lantiq: Move device-trees to arch/mips/boot/dts/
...
Move the Lantiq device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. There is currently only a single Lantiq
device-tree (EASY50712), and it's required to be built into the kernel,
so select BUILTIN_DTB for it.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7559/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:49 +02:00
Andrew Bresticker
e326479f2f
MIPS: Octeon: Move device-trees to arch/mips/boot/dts/
...
Move the Octeon device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. Since Octeon requires the device-tree to be
built into the kernel, select BUILTIN_DTB as well.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7556/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:49 +02:00
Andrew Bresticker
c8d333dfe4
MIPS: Add support for building device-tree binaries
...
Add a 'dtbs' Makefile target that just builds the device-tree binaries
enabled by the configuration.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7557/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:49 +02:00
Andrew Bresticker
7fafb06831
MIPS: Create common infrastructure for building built-in device-trees
...
In preparation for moving the device-trees to a common location,
introduce the config option BUILTIN_DTB, which can be selected by
platforms that use a device-tree built into the kernel image, and
create a Makefile to build the device-trees in arch/mips/boot/dts/.
Signed-off-by: Andrew Bresticker <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Kumar Gala <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: David Daney <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Qais Yousef <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7564/
Signed-off-by: Ralf Baechle <[email protected] >
2014-09-22 13:35:49 +02:00
Madhavan Srinivasan
66b10574b8
MIPS: Fix invalid symbolic link file
...
Commit 3b29aa5ba2 [MIPS: add <dt-bindings/> symlink] created a symlink
file in include/dt-bindings. Even though commit diff is fine, the symlink
is invalid and ls -lb shows a newline character at the end of the filename:
lrwxrwxrwx 1 maddy maddy 35 Sep 19 18:11 dt-bindings ->
../../../../../include/dt-bindings\n
Signed-off-by: Madhavan Srinivasan <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5859/
Signed-off-by: Ralf Baechle <[email protected] >
2013-09-19 17:04:35 +02:00
James Hogan
3b29aa5ba2
MIPS: add <dt-bindings/> symlink
...
Add symlink to include/dt-bindings from arch/mips/boot/dts/include/ to
match the ones in ARM and Meta architectures so that preprocessed device
tree files can include various useful constant definitions.
See commit c58299a (kbuild: create an "include chroot" for DT bindings)
merged in v3.10-rc1 for details.
MIPS structures it's dts files a little differently to other
architectures, having a separate dts directory for each SoC/platform,
but most of the definitions in the dt-bindings/ directory are common so
for now lets just have a single "include chroot" for all MIPS platforms.
Signed-off-by: James Hogan <[email protected] >
Reviewed-by: Steven. J. Hill <[email protected] >
Cc: Michal Marek <[email protected] >
Cc: Shawn Guo <[email protected] >
Cc: Ian Campbell <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Pawel Moll <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Acked-by: Stephen Warren <[email protected] >
Patchwork: http://patchwork.linux-mips.org/patch/5745/
Signed-off-by: Ralf Baechle <[email protected] >
2013-09-03 17:08:40 +02:00