diff --git a/arch/arm/dts/am335x-phytec-phycore-som-no-spi.dts b/arch/arm/dts/am335x-phytec-phycore-som-no-spi.dts index ad03d4dcb..284b2340b 100644 --- a/arch/arm/dts/am335x-phytec-phycore-som-no-spi.dts +++ b/arch/arm/dts/am335x-phytec-phycore-som-no-spi.dts @@ -18,3 +18,29 @@ &eeprom { status = "okay"; }; + +&nand { + partition@5 { + label = "bareboxenv"; + reg = <0x100000 0x40000>; + }; + + partition@6 { + label = "oftree"; + reg = <0x140000 0x40000>; + }; + + partition@7 { + label = "kernel"; + reg = <0x180000 0x800000>; + }; + + partition@8 { + label = "root"; + /* + * Size 0x0 extends partition to + * end of nand flash. + */ + reg = <0x980000 0x0>; + }; +}; diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dts b/arch/arm/dts/am335x-phytec-phycore-som.dts index f13e0d6bd..0574fc5a2 100644 --- a/arch/arm/dts/am335x-phytec-phycore-som.dts +++ b/arch/arm/dts/am335x-phytec-phycore-som.dts @@ -22,3 +22,29 @@ &eeprom { status = "okay"; }; + +&nand { + partition@5 { + label = "bareboxenv"; + reg = <0x100000 0x40000>; + }; + + partition@6 { + label = "oftree"; + reg = <0x140000 0x40000>; + }; + + partition@7 { + label = "kernel"; + reg = <0x180000 0x800000>; + }; + + partition@8 { + label = "root"; + /* + * Size 0x0 extends partition to + * end of nand flash. + */ + reg = <0x980000 0x0>; + }; +}; diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore-som.dtsi index ed8e257b5..9f0cddca6 100644 --- a/arch/arm/dts/am335x-phytec-phycore-som.dtsi +++ b/arch/arm/dts/am335x-phytec-phycore-som.dtsi @@ -288,29 +288,5 @@ label = "barebox"; reg = <0x80000 0x80000>; }; - - partition@5 { - label = "bareboxenv"; - reg = <0x100000 0x40000>; - }; - - partition@6 { - label = "oftree"; - reg = <0x140000 0x40000>; - }; - - partition@7 { - label = "kernel"; - reg = <0x180000 0x800000>; - }; - - partition@8 { - label = "root"; - /* - * Size 0x0 extends partition to - * end of nand flash. - */ - reg = <0x980000 0x0>; - }; }; };