This is a spin-off of the series titled
"powerpc: MPC83xx cleanup and LANCOM NWAPP2 board".
During the development of that series, it became clear that many
devicetree bindings for Freescale MPC8xxx platforms are still in the old
plain-text format, or don't exist at all, and in any case don't ment
From: "J. Neuschäfer"
In some scenarios, such as under the Freescale eLBC bus, there are raw
NAND chips with a unit address that has a comma in it (cs,offset).
Relax the $nodename pattern in raw-nand-chip.yaml to allow such unit
addresses.
Signed-off-by: J. Neuschäfer
---
V2:
- new patch
---
From: "J. Neuschäfer"
Convert the Freescale localbus controller bindings from text form to
YAML. The updated list of compatible strings reflects current usage
in arch/powerpc/boot/dts/, except that many existing device trees
erroneously specify "simple-bus" in addition to fsl,*elbc.
Changes comp
From: "J. Neuschäfer"
Convert mpc83xx-wdt.txt to YAML to enable automatic schema validation.
Reviewed-by: Rob Herring (Arm)
Signed-off-by: J. Neuschäfer
---
V2:
- trim subject line (remove "binding")
- fix property order to comply with dts coding style
---
.../devicetree/bindings/watchdog/mp
From: "J. Neuschäfer"
fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi
contollers. Convert them to YAML.
Signed-off-by: J. Neuschäfer
---
V2:
- add missing end-of-document ("...") markers
- add missing constraints to interrupts, fsl,espi-num-chipselects,
fsl,csbef and fsl,csaft
From: "J. Neuschäfer"
Formalise the binding for the PCI controllers in the Freescale MPC8xxx
chip family. Information about PCI-X-specific properties was taken from
fsl,pci.txt. The examples were taken from mpc8315erdb.dts and
xpedite5200_xmon.dts.
Signed-off-by: J. Neuschäfer
---
V2:
- merge
From: "J. Neuschäfer"
Convert the Freescale PowerQUICC SATA controller binding from text form
to YAML. The list of compatible strings reflects current usage.
To clarify the description, I changed it to mention "each SATA
controller" instead of each port.
Reviewed-by: Rob Herring (Arm)
Signed-o
From: "J. Neuschäfer"
Convert the Freescale security engine (crypto accelerator) binding from
text form to YAML. The list of compatible strings reflects what was
previously described in prose; not all combinations occur in existing
devicetrees.
Signed-off-by: J. Neuschäfer
---
V2:
- several im
From: "J. Neuschäfer"
Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings
currently in use.
Reviewed-by: Rob Herring (Arm)
Signed-off-by: J. Neuschäfer
---
V2:
- trim subject line (remove "binding")
- fix property order to comply with dts coding style
---
.../bindings/mfd/fs
From: "J. Neuschäfer"
Add a new binding for MPC83xx platforms, describing the board compatible
strings used in currently existing device trees.
Note that the SoC bus is called immr@... in many existing devicetrees,
but this contradicts the simple-bus binding.
Reviewed-by: Rob Herring (Arm)
Sig
From: "J. Neuschäfer"
Formalize the binding already supported by the uio_fsl_elbc_gpcm.c
driver.
Signed-off-by: J. Neuschäfer
---
V2:
- split out from fsl,elbc patch
- add description
- remove "device_type" property
- move to bindings/memory-controllers
---
.../memory-controllers/fsl,elbc-gpc
From: "J. Neuschäfer"
The devicetree bindings for Freescale DMA engines have so far existed as
a text file. This patch converts them to YAML, and specifies all the
compatible strings currently in use in arch/powerpc/boot/dts.
Signed-off-by: J. Neuschäfer
---
V2:
- remove unnecessary multiline
From: "J. Neuschäfer"
Formalize the binding already supported by the fsl_elbc_nand.c driver
and used in several device trees in arch/powerpc/boot/dts/.
Signed-off-by: J. Neuschäfer
---
V2:
- split out from fsl,elbc binding patch
- constrain #address-cells and #size-cells
- add a general descri
From: "J. Neuschäfer"
Historically, devicetree nodes representing the Freescale Enhanced
Local Bus Controller (eLBC) have compatible strings such as:
compatible = "fsl,mpc8313-elbc", "fsl,elbc", "simple-bus";
The "simple-bus" string causes the bus to be populated, and the memory
devices con
From: "J. Neuschäfer"
Convert the Freescale localbus controller bindings from text form to
YAML. The list of compatible strings reflects current usage.
Changes compared to the txt version:
- removed the board-control (fsl,mpc8272ads-bcsr) node because it only
appears in this example and nowh
From: "J. Neuschäfer"
fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi
contollers. Convert them to YAML.
Signed-off-by: J. Neuschäfer
---
.../devicetree/bindings/spi/fsl,espi.yaml | 56 +
Documentation/devicetree/bindings/spi/fsl,spi.yaml | 71 +++
From: "J. Neuschäfer"
Supplement Documentation/devicetree/bindings/pci/fsl,pci.txt with a more
formal binding in YAML format.
Signed-off-by: J. Neuschäfer
---
.../devicetree/bindings/pci/fsl,mpc8xxx-pci.yaml | 83 ++
1 file changed, 83 insertions(+)
diff --git a/Document
From: "J. Neuschäfer"
Convert the Freescale security engine (crypto accelerator) binding from
text form to YAML. The list of compatible strings reflects what was
previously described in prose; not all combinations occur in existing
devicetrees.
Signed-off-by: J. Neuschäfer
---
.../devicetree/b
From: "J. Neuschäfer"
Convert mpc83xx-wdt.txt to YAML to enable automatic schema validation.
Signed-off-by: J. Neuschäfer
---
.../devicetree/bindings/watchdog/mpc8xxx-wdt.txt | 25 -
.../devicetree/bindings/watchdog/mpc8xxx-wdt.yaml | 64 ++
2 files changed, 64 i
From: "J. Neuschäfer"
Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings
currently in use.
Signed-off-by: J. Neuschäfer
---
.../bindings/mfd/fsl,mcu-mpc8349emitx.yaml | 53 ++
.../bindings/powerpc/fsl/mcu-mpc8349emitx.txt | 17 ---
2 files
From: "J. Neuschäfer"
Convert the Freescale PowerQUICC SATA controller binding from text form
to YAML. The list of compatible strings reflects current usage.
Signed-off-by: J. Neuschäfer
---
.../devicetree/bindings/ata/fsl,pq-sata.yaml | 59 ++
Documentation/devicetre
This is a spin-off of the series titled
"powerpc: MPC83xx cleanup and LANCOM NWAPP2 board".
During the development of that series, it became clear that many
devicetree bindings for Freescale MPC8xxx platforms are still in the old
plain-text format, or don't exist at all, and in any case don't ment
From: "J. Neuschäfer"
Add a new binding for MPC83xx platforms, describing the board compatible
strings used in currently existing device trees.
Note that the SoC bus is called immr@... in many existing devicetrees,
but this contradicts the simple-bus binding.
Signed-off-by: J. Neuschäfer
---
From: "J. Neuschäfer"
The devicetree bindings for Freescale DMA engines have so far existed as
a text file. This patch converts them to YAML, and specifies all the
compatible strings currently in use in arch/powerpc/boot/dts.
Signed-off-by: J. Neuschäfer
---
.../devicetree/bindings/dma/fsl,elo
From: "J. Neuschäfer"
The standard property for the model name is called "model".
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/microwatt.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/boot/dts/microwatt.dts
b/arch/powerpc/boot/dts/microwatt.dts
From: "J. Neuschäfer"
To make it easier to add other devices based on the MPC831{4,5}{,E}, put
the common parts into a dtsi file.
mpc8315erdb.dtb remains identical after this patch.
Signed-off-by: J. Neuschäfer
---
Checkpatch (rightfully) complains about a lot of compatible strings that
were
From: "J. Neuschäfer"
These properties are required by the spi-controller binding.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315e.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8315e.dtsi
b/arch/powerpc/boot/dts/mpc8315e.dtsi
index
7e61a7
From: "J. Neuschäfer"
Labels can be used in board-specific devicetrees to refer to nodes more
conveniently.
mpc8315erdb.dtb remains identical after this patch.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315e.dtsi | 20 ++--
1 file changed, 10 insertions(+), 10
From: "J. Neuschäfer"
The mpc8315erdb devicetree did thus far not have a /model property, even
though it is required by the devicetree specification.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315erdb.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/boot/dts
This patchset adds a devicetree for the LANCOM NWAPP2 board based on the
MPC8314E platform, and slightly modernizes the MPC83xx platform support
in the process.
This board is nominally end-of-life, but available to hobbyists.
A U-Boot port is also in the making.
Signed-off-by: J. Neuschäfer
---
From: "J. Neuschäfer"
In order to produce useful FIT images, the kernel needs to know which
devicetrees to build. To that end, follow the same approach as other
architectures, and enable devicetrees per platform.
Signed-off-by: J. Neuschäfer
---
I've only enabled MPC831x devicetrees, because t
From: "J. Neuschäfer"
This is for the MPC831{4,5}{,E} SoCs.
Signed-off-by: J. Neuschäfer
---
Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml
b/Documentation/devicetree/bin
From: "J. Neuschäfer"
This node das previously missing from the device tree.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315e.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8315e.dtsi
b/arch/powerpc/boot/dts/mpc8315e.dtsi
index
f9d1b
From: "J. Neuschäfer"
Peripherals with a connection to the outside of the chip aren't
necessarily used on all board designs, so disable them by default,
and enable them per-board.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315e.dtsi | 15 +++
arch/powerpc/boot/dts
From: "J. Neuschäfer"
The Reference Design Boards (RDB) don't have the same relevance they had
then the MPC831x platform was new; if any work is done today, then
likely based on used production boards, which are more readily available
than NXP's discontinued devboards.
To further reduce the focu
From: "J. Neuschäfer"
This increases readability, because "0x8" isn't very descriptive.
mpc8315erdb.dtb remains identical after this patch.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8315e.dtsi | 112 ++
arch/powerpc/boot/dts/mpc8315erdb.dts |
From: "J. Neuschäfer"
The MPC8314E is a variant of the MPC8315E without SATA controllers.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc8314e.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8314e.dtsi
b/arch/powerpc/boot/dts/mpc8314e.dtsi
n
From: "J. Neuschäfer"
The Flat Image Tree (FIT) format combines a kernel, a set of
devicetrees, and optionally additional resources into a single file that
can be loaded by a bootloader such as U-Boot. Generating a FIT image as
part of the kernel build reduces the need for additional build script
From: "J. Neuschäfer"
GPIO input, output, and interrupts have been tested on a MPC8314E board.
Signed-off-by: J. Neuschäfer
---
drivers/gpio/gpio-mpc8xxx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
index
24417c3247b0a832ad15f
From: "J. Neuschäfer"
Provide a contact for NWAPP2 and other boards.
Signed-off-by: J. Neuschäfer
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
910305c11e8a882da5b49ce5bd55011b93f28c32..6d4717cf7c19c25aa50c5cf1a7956797225a1d21
100
From: "J. Neuschäfer"
Quoting from drivers/of/platform.c:
> of_platform_populate() - [...]
> Similar to of_platform_bus_probe(), this function walks the device
> tree and creates devices from nodes. It differs in that it follows
> the modern convention of requiring all device nodes to have a
>
From: "J. Neuschäfer"
What works so far:
- serial port
- LEDs
- Ethernet
- PCIe (port 1 tested)
- Flash access
What doesn't work:
- Access of the YAFFS file system preinstalled by the original firmware
(mainline Linux does not include the YAFFS file system)
- Writing NAND flash from Linux and
From: "J. Neuschäfer"
These features are required (or at least helpful) for running Linux on
the LANCOM NWAPP2 board:
- GPIO restart/watchdog are required for operation
- The MPC83xx-internal watchdog is optional
- LEDs are nice to have
- ATH9K is on a removable mini-PCIe card
- ATH803X is the E
From: "J. Neuschäfer"
Run `make mpc83xx_defconfig` and `make savedefconfig`. This reduces the
size of subsequent patches that enable/disable functionality.
Signed-off-by: J. Neuschäfer
---
arch/powerpc/configs/mpc83xx_defconfig | 18 ++
1 file changed, 6 insertions(+), 12 delet
From: "J. Neuschäfer"
LANCOM Systems is a manufacturer of networking equipment.
https://www.lancom-systems.com/
Signed-off-by: J. Neuschäfer
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/ven
From: "J. Neuschäfer"
This patch rewrites pmc.txt into YAML format. Descriptive texts are
expanded or shortened in a few places to better fit today's conventions.
The list of compatible strings (and combinations of them) is based on
existing device trees in arch/powerpc as well as compatible str
From: "J. Neuschäfer"
This patch rewrites pmc.txt into YAML format. Descriptive texts are
expanded or shortened in a few places to better fit today's conventions.
The list of compatible strings (and combinations of them) is based on
existing device trees in arch/powerpc as well as compatible str
From: "J. Neuschäfer"
This patch rewrites pmc.txt into YAML format. Descriptive texts are
expanded or shortened in a few places to better fit today's conventions.
The list of compatible strings (and combinations of them) is based on
existing device trees in arch/powerpc as well as compatible str
This series converts the fsl,elbc binding to YAML and adds new bindings
for related devices (particular kinds of chip on the eLBC).
For readability, the existing unit address syntax of ,
(e.g. nand@1,0) is kept. This results in a few dtc validation warnings,
when combined with other choices in thi
From: "J. Neuschäfer"
Formalize the binding already supported by the fsl_elbc_nand.c driver
and used in several device trees in arch/powerpc/boot/dts/.
raw-nand-chip.yaml is referenced in order to accommodate situations in
which the ECC parameters settings are set in the device tree. One such
ex
From: "J. Neuschäfer"
In some scenarios, such as under the Freescale eLBC bus, there are raw
NAND chips with a unit address that has a comma in it (cs,offset).
For reasons of compatibility with historical device trees and
readability of the unit addresses, this format is kept.
Relax the $nodenam
From: "J. Neuschäfer"
Convert the Freescale localbus controller bindings from text form to
YAML. Compared to the .txt version, the YAML binding contains a new
usage example with FCM NAND flash, and a full list of compatible strings
based on current usage in arch/powerpc/boot/dts/.
Note that the
From: "J. Neuschäfer"
Add a new binding for MPC83xx platforms, describing the board compatible
strings used in currently existing device trees.
Note that the SoC bus is called immr@... in many existing devicetrees,
but this contradicts the simple-bus binding.
Reviewed-by: Rob Herring (Arm)
Sig
From: "J. Neuschäfer"
Formalize the binding already supported by the uio_fsl_elbc_gpcm.c
driver.
Reviewed-by: Frank Li
Reviewed-by: Rob Herring (Arm)
Signed-off-by: J. Neuschäfer
---
V4,V5:
- no changes
V3:
- add review tags
V2:
- split out from fsl,elbc patch
- add description
- remove "d
From: "J. Neuschäfer"
The standard property for the model name is called "model".
Signed-off-by: J. Neuschäfer
---
Changes in v2:
- Rebase on v6.15-rc1 (no changes except line numbers)
- Link to v1:
https://lore.kernel.org/r/20241225-microwatt-v1-1-8e071fcfc...@posteo.net
---
arch/powerpc/boo
From: "J. Neuschäfer"
The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00.
This node was previously missing from the device tree.
Signed-off-by: J. Neuschäfer
---
A version of this patch was previously part of the series "powerpc:
MPC83xx cleanup and LANCOM NWAPP2 board", but I
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/mpc5121.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/boot/dts/mpc51
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/asp834x-redboot.dts | 2 +-
arch/powerpc/boot/dts/mpc8313erdb.dts | 2 +-
arch/powerpc/boot/dts/mpc8315e
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/fsl/ge_imp3a.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/boot/d
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
---
arch/powerpc/boot/dts/fsl/gef_ppc9a.dts | 4 ++--
arch/powerpc/boot/dts/fsl/gef_sbc310.dts | 4 ++--
arch/powerpc/boot/dts/fsl/ge
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt". This series fixes the node name
across arch/powerpc/boot/dts.
Signed-off-by: J. Neuschäfer
---
J. Neuschäfer (4):
powerpc: 512x: Rename wdt@ node to watchdog@
powerpc: 83xx: Re
From: "J. Neuschäfer"
The devicetree bindings for Freescale DMA engines have so far existed as
a text file. This patch converts them to YAML, and specifies all the
compatible strings currently in use in arch/powerpc/boot/dts.
Signed-off-by: J. Neuschäfer
---
I considered referencing dma-control
From: "J. Neuschäfer"
In some scenarios, such as under the Freescale eLBC bus, there are raw
NAND chips with a unit address that has a comma in it (cs,offset).
For reasons of compatibility with historical device trees and
readability of the unit addresses, this format is kept.
Relax the $nodenam
From: "J. Neuschäfer"
Convert the Freescale localbus controller bindings from text form to
YAML. Compared to the .txt version, the YAML binding contains a new
usage example with FCM NAND flash, and a full list of compatible strings
based on current usage in arch/powerpc/boot/dts/.
Note that the
From: "J. Neuschäfer"
Formalize the binding already supported by the fsl_elbc_nand.c driver
and used in several device trees in arch/powerpc/boot/dts/.
raw-nand-chip.yaml is referenced in order to accommodate situations in
which the ECC parameters settings are set in the device tree. One such
ex
This series converts the fsl,elbc binding to YAML and adds new bindings
for related devices (particular kinds of chip on the eLBC).
For readability, the existing unit address syntax of ,
(e.g. nand@1,0) is kept. This results in a few dtc validation warnings,
when combined with other choices in thi
From: "J. Neuschäfer"
Formalize the binding already supported by the uio_fsl_elbc_gpcm.c
driver.
Reviewed-by: Frank Li
Reviewed-by: Rob Herring (Arm)
Signed-off-by: J. Neuschäfer
---
V4:
- no changes
V3:
- add review tags
V2:
- split out from fsl,elbc patch
- add description
- remove "devi
From: "J. Neuschäfer"
Add a new binding for MPC83xx platforms, describing the board compatible
strings used in currently existing device trees.
Note that the SoC bus is called immr@... in many existing devicetrees,
but this contradicts the simple-bus binding.
Reviewed-by: Rob Herring (Arm)
Sig
From: "J. Neuschäfer"
The devicetree bindings for Freescale DMA engines have so far existed as
a text file. This patch converts them to YAML, and specifies all the
compatible strings currently in use in arch/powerpc/boot/dts.
Signed-off-by: J. Neuschäfer
---
I considered referencing dma-control
From: "J. Neuschäfer"
Formalize the binding already supported by the fsl_elbc_nand.c driver
and used in several device trees in arch/powerpc/boot/dts/.
raw-nand-chip.yaml is referenced in order to accommodate situations in
which the ECC parameters settings are set in the device tree. One such
ex
From: "J. Neuschäfer"
Formalize the binding already supported by the uio_fsl_elbc_gpcm.c
driver.
Reviewed-by: Frank Li
Reviewed-by: Rob Herring (Arm)
Signed-off-by: J. Neuschäfer
---
V3:
- add review tags
V2:
- split out from fsl,elbc patch
- add description
- remove "device_type" property
From: "J. Neuschäfer"
Convert the Freescale localbus controller bindings from text form to
YAML. Compared to the .txt version, the YAML binding contains a new
usage example with FCM NAND flash, and a full list of compatible strings
based on current usage in arch/powerpc/boot/dts/.
Note that the
This series converts the fsl,elbc binding to YAML and adds new bindings
for related devices (particular kinds of chip on the eLBC).
For readability, the existing unit address syntax of ,
(e.g. nand@1,0) is kept. This results in a few dtc validation warnings,
when combined with other choices in thi
From: "J. Neuschäfer"
As part of a larger effort to bring various PowerPC-related bindings
into the YAML world, this patch converts msi-pic.txt to YAML and moves
it into the bindings/interrupt-controller/ directory. The conversion may
necessarily be a bit hard to read because the binding is quite
From: "J. Neuschäfer"
As part of a larger effort to bring various PowerPC-related bindings
into the YAML world, this patch converts msi-pic.txt to YAML and moves
it into the bindings/interrupt-controller/ directory. The conversion may
necessarily be a bit hard to read because the binding is quite
From: "J. Neuschäfer"
The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00.
This node was previously missing from the device tree.
Signed-off-by: J. Neuschäfer
---
A version of this patch was previously part of the series "powerpc:
MPC83xx cleanup and LANCOM NWAPP2 board", but I
From: "J. Neuschäfer"
The standard property for the model name is called "model".
Signed-off-by: J. Neuschäfer
---
Changes in v2:
- Rebase on v6.15-rc1 (no changes except line numbers)
- Link to v1:
https://lore.kernel.org/r/20241225-microwatt-v1-1-8e071fcfc...@posteo.net
---
arch/powerpc/boo
77 matches
Mail list logo