Message ID | 20190204152956.13471-1-m.felsch@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] ARM: dts: pfla02: prepare storage devices to add paritions | expand |
Hello, On Mon, Feb 04, 2019 at 04:29:55PM +0100, Marco Felsch wrote: > Partitions in the NOR and EEPROM are application specific. Prepare the > SoM device tree so platform device tree's can add partitions. Even though there is no in-tree user (and maybe there will never be) I would like to see this kind of patch applied. Our usecase is that the paritioning is defined in the bootloader (here: barebox) and before jumping into Linux the (maybe) provided dts is fixed up to contain the right partitioning. So the Linux device tree doesn't usually include the partitioning, but as barebox contains a copy of the the device tree files from Linux it helps here to simplify the board specific device tree. So: Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
On Mon, Feb 04, 2019 at 04:29:55PM +0100, Marco Felsch wrote: > Partitions in the NOR and EEPROM are application specific. Prepare the > SoM device tree so platform device tree's can add partitions. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Applied, thanks.
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 1bfa41e01a0c..35d56e25c4a0 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -79,7 +79,7 @@ status = "okay"; cs-gpios = <&gpio4 24 0>; - flash@0 { + som_flash: flash@0 { compatible = "m25p80", "jedec,spi-nor"; spi-max-frequency = <20000000>; reg = <0>; @@ -107,7 +107,7 @@ pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - eeprom@50 { + som_eeprom: eeprom@50 { compatible = "atmel,24c32"; reg = <0x50>; };
Partitions in the NOR and EEPROM are application specific. Prepare the SoM device tree so platform device tree's can add partitions. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)