[PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration
From: Krzysztof Kozlowski <hidden>
Date: 2015-11-03 07:18:50
Also in:
linux-devicetree, linux-samsung-soc, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2015-11-03 07:18:50
Also in:
linux-devicetree, linux-samsung-soc, lkml
On 03.11.2015 15:58, Pavel Fedin wrote:
Hello!quoted
quoted
quoted
quoted
--- cut exynos5410.dtsi ---sromc: sromc at 12250000 { #address-cells = <2>; #size-cells = <1>; ranges = <0 0 0x04000000 0x20000 1 0 0x05000000 0x20000 2 0 0x06000000 0x20000 3 0 0x07000000 0x20000>;Do you have to use 2 cells for address? Cannot it be: ranges = <0 0x04000000 0x20000 1 0x05000000 0x20000 2 0x06000000 0x20000 3 0x07000000 0x20000>;I tried this first, but it didn't work, and ranges translation gave me something really weird (like addr = 0x80 and size = 0x04000004).Did you change the address-cells to <1>?Of course i did.
I saw some other nodes use the ranges without the offset but maybe some more steps are required for such configuration. So anyway send the version with the child offset and I will try to figure out why it is required. Best regards, Krzysztof