Commit 230ce30a51a5fea81ec89ed906ed51975fc0984d

Authored by Masahiro Yamada
1 parent f5fd7afcd5

ARM: UniPhier: add device tree sources for PH1-sLD3

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 3 changed files with 186 additions and 0 deletions Side-by-side Diff

arch/arm/dts/Makefile
... ... @@ -33,6 +33,7 @@
33 33 tegra124-jetson-tk1.dtb \
34 34 tegra124-venice2.dtb
35 35 dtb-$(CONFIG_ARCH_UNIPHIER) += \
  36 + uniphier-ph1-sld3-ref.dtb \
36 37 uniphier-ph1-pro4-ref.dtb \
37 38 uniphier-ph1-ld4-ref.dtb \
38 39 uniphier-ph1-sld8-ref.dtb
arch/arm/dts/uniphier-ph1-sld3-ref.dts
  1 +/*
  2 + * Device Tree Source for UniPhier PH1-sLD3 Reference Board
  3 + *
  4 + * Copyright (C) 2014 Panasonic Corporation
  5 + * Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
  6 + *
  7 + * SPDX-License-Identifier: GPL-2.0+
  8 + */
  9 +
  10 +/dts-v1/;
  11 +/include/ "uniphier-ph1-sld3.dtsi"
  12 +
  13 +/ {
  14 + model = "Panasonic UniPhier PH1-sLD3 Reference Board";
  15 + compatible = "panasonic,ph1-sld3-ref", "panasonic,ph1-sld3";
  16 +
  17 + memory {
  18 + device_type = "memory";
  19 + reg = <0x80000000 0x40000000>;
  20 + };
  21 +
  22 + chosen {
  23 + bootargs = "console=ttyPS0,115200 earlyprintk";
  24 + stdout-path = &uart0;
  25 + };
  26 +
  27 + aliases {
  28 + uart0 = &uart0;
  29 + uart1 = &uart1;
  30 + uart2 = &uart2;
  31 + i2c0 = &i2c0;
  32 + i2c1 = &i2c1;
  33 + i2c2 = &i2c2;
  34 + i2c3 = &i2c3;
  35 + };
  36 +};
  37 +
  38 +&uart0 {
  39 + status = "okay";
  40 +};
  41 +
  42 +&uart1 {
  43 + status = "okay";
  44 +};
  45 +
  46 +&i2c0 {
  47 + status = "okay";
  48 + eeprom {
  49 + compatible = "i2c-eeprom";
  50 + reg = <0x50>;
  51 + };
  52 +};
  53 +
  54 +&usb0 {
  55 + status = "okay";
  56 +};
  57 +
  58 +&usb1 {
  59 + status = "okay";
  60 +};
arch/arm/dts/uniphier-ph1-sld3.dtsi
  1 +/*
  2 + * Device Tree Source for UniPhier PH1-sLD3 SoC
  3 + *
  4 + * Copyright (C) 2014 Panasonic Corporation
  5 + * Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
  6 + *
  7 + * SPDX-License-Identifier: GPL-2.0+
  8 + */
  9 +
  10 +/include/ "skeleton.dtsi"
  11 +
  12 +/ {
  13 + compatible = "panasonic,ph1-sld3";
  14 +
  15 + cpus {
  16 + #address-cells = <1>;
  17 + #size-cells = <0>;
  18 +
  19 + cpu@0 {
  20 + device_type = "cpu";
  21 + compatible = "arm,cortex-a9";
  22 + reg = <0>;
  23 + };
  24 +
  25 + cpu@1 {
  26 + device_type = "cpu";
  27 + compatible = "arm,cortex-a9";
  28 + reg = <1>;
  29 + };
  30 + };
  31 +
  32 + soc {
  33 + compatible = "simple-bus";
  34 + #address-cells = <1>;
  35 + #size-cells = <1>;
  36 + ranges;
  37 +
  38 + uart0: serial@54006800 {
  39 + compatible = "panasonic,uniphier-uart";
  40 + status = "disabled";
  41 + reg = <0x54006800 0x20>;
  42 + clock-frequency = <36864000>;
  43 + };
  44 +
  45 + uart1: serial@54006900 {
  46 + compatible = "panasonic,uniphier-uart";
  47 + status = "disabled";
  48 + reg = <0x54006900 0x20>;
  49 + clock-frequency = <36864000>;
  50 + };
  51 +
  52 + uart2: serial@54006a00 {
  53 + compatible = "panasonic,uniphier-uart";
  54 + status = "disabled";
  55 + reg = <0x54006a00 0x20>;
  56 + clock-frequency = <36864000>;
  57 + };
  58 +
  59 + i2c0: i2c@58400000 {
  60 + compatible = "panasonic,uniphier-i2c";
  61 + #address-cells = <1>;
  62 + #size-cells = <0>;
  63 + reg = <0x58400000 0x40>;
  64 + clock-frequency = <100000>;
  65 + status = "disabled";
  66 + };
  67 +
  68 + i2c1: i2c@58480000 {
  69 + compatible = "panasonic,uniphier-i2c";
  70 + #address-cells = <1>;
  71 + #size-cells = <0>;
  72 + reg = <0x58480000 0x40>;
  73 + clock-frequency = <100000>;
  74 + status = "disabled";
  75 + };
  76 +
  77 + i2c2: i2c@58500000 {
  78 + compatible = "panasonic,uniphier-i2c";
  79 + #address-cells = <1>;
  80 + #size-cells = <0>;
  81 + reg = <0x58500000 0x40>;
  82 + clock-frequency = <100000>;
  83 + status = "disabled";
  84 + };
  85 +
  86 + i2c3: i2c@58580000 {
  87 + compatible = "panasonic,uniphier-i2c";
  88 + #address-cells = <1>;
  89 + #size-cells = <0>;
  90 + reg = <0x58580000 0x40>;
  91 + clock-frequency = <100000>;
  92 + status = "disabled";
  93 + };
  94 +
  95 + usb0: usb@5a800100 {
  96 + compatible = "panasonic,uniphier-ehci", "usb-ehci";
  97 + status = "disabled";
  98 + reg = <0x5a800100 0x100>;
  99 + };
  100 +
  101 + usb1: usb@5a810100 {
  102 + compatible = "panasonic,uniphier-ehci", "usb-ehci";
  103 + status = "disabled";
  104 + reg = <0x5a810100 0x100>;
  105 + };
  106 +
  107 + usb2: usb@5a820100 {
  108 + compatible = "panasonic,uniphier-ehci", "usb-ehci";
  109 + status = "disabled";
  110 + reg = <0x5a820100 0x100>;
  111 + };
  112 +
  113 + usb3: usb@5a830100 {
  114 + compatible = "panasonic,uniphier-ehci", "usb-ehci";
  115 + status = "disabled";
  116 + reg = <0x5a830100 0x100>;
  117 + };
  118 +
  119 + nand: nand@f8000000 {
  120 + compatible = "denali,denali-nand-dt";
  121 + reg = <0xf8000000 0x20>, <0xf8100000 0x1000>;
  122 + reg-names = "nand_data", "denali_reg";
  123 + };
  124 + };
  125 +};