diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-10-21 19:13:51 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-10-29 03:40:48 +0300 |
commit | 4345dda5a58a9c0803a80e503f2831b31222cb2b (patch) | |
tree | ffd916f8f2ba5a138a87be3c8bc6c4cbc947bfd7 /Documentation/devicetree/bindings | |
parent | 517bcde22c214612b86f4795e2c9d7df9b08cd54 (diff) | |
download | linux-4345dda5a58a9c0803a80e503f2831b31222cb2b.tar.xz |
dt-bindings: sram: Merge Socionext SRAM bindings into generic
The Socionext SRAM bindings list only compatible so integrate them into
generic SRAM bindings schema.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sram/sram.yaml | 15 |
2 files changed, 15 insertions, 24 deletions
diff --git a/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt b/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt deleted file mode 100644 index 194f6a3c1c1e..000000000000 --- a/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt +++ /dev/null @@ -1,24 +0,0 @@ -Milbeaut SRAM for smp bringup - -Milbeaut SoCs use a part of the sram for the bringup of the secondary cores. -Once they get powered up in the bootloader, they stay at the specific part -of the sram. -Therefore the part needs to be added as the sub-node of mmio-sram. - -Required sub-node properties: -- compatible : should be "socionext,milbeaut-smp-sram" - -Example: - - sram: sram@0 { - compatible = "mmio-sram"; - reg = <0x0 0x10000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x0 0x10000>; - - smp-sram@f100 { - compatible = "socionext,milbeaut-smp-sram"; - reg = <0xf100 0x20>; - }; - }; diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml index 59a4e0790f2b..ee2287a1b14d 100644 --- a/Documentation/devicetree/bindings/sram/sram.yaml +++ b/Documentation/devicetree/bindings/sram/sram.yaml @@ -72,6 +72,7 @@ patternProperties: - rockchip,rk3066-smp-sram - samsung,exynos4210-sysram - samsung,exynos4210-sysram-ns + - socionext,milbeaut-smp-sram reg: description: @@ -240,3 +241,17 @@ examples: reg = <0x1000 0x8>; }; }; + + - | + sram@0 { + compatible = "mmio-sram"; + reg = <0x0 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x0 0x10000>; + + smp-sram@f100 { + compatible = "socionext,milbeaut-smp-sram"; + reg = <0xf100 0x20>; + }; + }; |