diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-20 19:48:32 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:35:57 -0600 |
commit | c6b0b090329958d7c1bd1285a720490945258b94 (patch) | |
tree | a372fe41a245f409edb23a3bcd7cf2ea83817467 /arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | |
parent | 41678484b3c6c34a1a73dae2561cc7070662cf5f (diff) | |
download | u-boot-imx-c6b0b090329958d7c1bd1285a720490945258b94.zip u-boot-imx-c6b0b090329958d7c1bd1285a720490945258b94.tar.gz u-boot-imx-c6b0b090329958d7c1bd1285a720490945258b94.tar.bz2 |
dm: exynos: dts: Adjust device tree files for U-Boot
The pinctrl bindings used by Linux are an incomplete description of the
hardware. It is possible in most cases to determine the register address
of each, but not in all cases. By adding an additional property we can
fix this, and avoid adding a table to U-Boot for every single Exynos
SOC.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi')
-rw-r--r-- | arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi b/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi new file mode 100644 index 0000000..c02796d --- /dev/null +++ b/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi @@ -0,0 +1,46 @@ +/* + * U-Boot additions to enable a generic Exynos GPIO driver + * + * Copyright (c) 2014 Google, Inc + */ + +/{ + pinctrl_0: pinctrl@11400000 { + #address-cells = <1>; + #size-cells = <0>; + gpf0: gpf0 { + reg = <0xc180>; + }; + gpj0: gpj0 { + reg = <0x240>; + }; + }; + + pinctrl_1: pinctrl@11000000 { + #address-cells = <1>; + #size-cells = <0>; + gpk0: gpk0 { + reg = <0x40>; + }; + gpm0: gpm0 { + reg = <0x260>; + }; + gpy0: gpy0 { + reg = <0x120>; + }; + gpx0: gpx0 { + reg = <0xc00>; + }; + }; + + pinctrl_2: pinctrl@03860000 { + #address-cells = <1>; + #size-cells = <0>; + }; + + pinctrl_3: pinctrl@106E0000 { + #address-cells = <1>; + #size-cells = <0>; + }; + +}; |