diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2022-08-15 10:28:11 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-08-22 10:22:34 +0800 |
commit | 0fcf85d89de30ad2d9d9836376aacaf329d1b022 (patch) | |
tree | c0fbbf44384ea3a844d29e8e564b387aed737b6d /arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi | |
parent | b709c5a39e7ea3495d5524c9b57eb86f4b4ae255 (diff) |
ARM: dts: imx6ul-kontron: Simplify devicetree structure
There is no need in differentiating between the different SoM versions
that only differ in memory size, etc. It's much cleaner to simplify
the devicetrees and let them be more generic.
If necessary the bootloader will update the devicetree dynamically
to contain the correct size of the memory.
We also get rid of the N6xxx notation in the compatibles and file
names, as they are not really used anymore and often result in
confusion.
This is a breaking change, but the impact shouldn't be too big and it
makes usage and maintenance easier in the future.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi deleted file mode 100644 index acd936540d89..000000000000 --- a/arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2018 Kontron Electronics GmbH - * Copyright (c) 2019 Krzysztof Kozlowski <krzk@kernel.org> - */ - -#include "imx6ul.dtsi" -#include "imx6ul-kontron-n6x1x-som-common.dtsi" - -/ { - model = "Kontron N6310 SOM"; - compatible = "kontron,imx6ul-n6310-som", "fsl,imx6ul"; - - memory@80000000 { - reg = <0x80000000 0x10000000>; - device_type = "memory"; - }; -}; - -&qspi { - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "spi-nand"; - spi-max-frequency = <108000000>; - spi-tx-bus-width = <4>; - spi-rx-bus-width = <4>; - reg = <0>; - - partition@0 { - label = "ubi1"; - reg = <0x00000000 0x08000000>; - }; - - partition@8000000 { - label = "ubi2"; - reg = <0x08000000 0x08000000>; - }; - }; -}; |