summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-20 19:48:32 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:35:57 -0600
commitc6b0b090329958d7c1bd1285a720490945258b94 (patch)
treea372fe41a245f409edb23a3bcd7cf2ea83817467 /arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
parent41678484b3c6c34a1a73dae2561cc7070662cf5f (diff)
downloadblackbird-obmc-uboot-c6b0b090329958d7c1bd1285a720490945258b94.tar.gz
blackbird-obmc-uboot-c6b0b090329958d7c1bd1285a720490945258b94.zip
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/exynos54xx-pinctrl-uboot.dtsi')
-rw-r--r--arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi b/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
new file mode 100644
index 0000000000..5a86211d4a
--- /dev/null
+++ b/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
@@ -0,0 +1,40 @@
+/*
+ * U-Boot additions to enable a generic Exynos GPIO driver
+ *
+ * Copyright (c) 2014 Google, Inc
+ */
+
+/{
+ /*
+ * Replicate the ordering of arch/arm/include/asm/arch-exynos/gpio.h
+ * TODO(sjg@chromium.org): This ordering ceases to matter once GPIO
+ * numbers are not needed in U-Boot for exynos.
+ */
+ pinctrl@14010000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ pinctrl@13400000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ gpy7 {
+ };
+
+ gpx0 {
+ reg = <0xc00>;
+ };
+ };
+ pinctrl@13410000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ pinctrl@14000000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ pinctrl@03860000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+};
OpenPOWER on IntegriCloud