]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra124: p2360: Add p2360-b01 dts
authorVipin Kumar <vipink@nvidia.com>
Thu, 11 Jun 2015 12:16:17 +0000 (17:46 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 19 Jun 2015 20:07:24 +0000 (13:07 -0700)
Compared to b00
- SPI3 ready signal moves to GPIO_PW5
- TV_EN3 moves to GPIO_PP3

Also copy p2360.dts as p2360-b00.dts for flashing support.
p2360.dts is now deprecated and would be removed after flashing and
packaging support is done

bug 200106801

Change-Id: I5d04960b842153bd2e6bd8c7da8ab088837ee00c
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/759139
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/tegra124-p2360-b00.dts [new file with mode: 0644]
arch/arm/boot/dts/tegra124-p2360-b01.dts [new file with mode: 0644]
arch/arm/boot/dts/tegra124-p2360.dtsi [new file with mode: 0644]

index ee176271c6178701ac185dacadb30035f791652c..a704784443980b429e4393e6a1c5c53cdc10e8b3 100644 (file)
@@ -268,6 +268,8 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
        tegra124-p1859-vm_2.dtb \
        tegra124-p1889.dtb \
        tegra124-p2360.dtb \
+       tegra124-p2360-b00.dtb \
+       tegra124-p2360-b01.dtb \
        tegra124-p1855.dtb \
        tegra124-vcm30t124-flashing.dtb \
        tegra124-green-arrow-p2267-base-a00.dtb
diff --git a/arch/arm/boot/dts/tegra124-p2360-b00.dts b/arch/arm/boot/dts/tegra124-p2360-b00.dts
new file mode 100644 (file)
index 0000000..8be6e4e
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * arch/arm/boot/dts/tegra124-p2360-b00.dts
+ *
+ * Copyright (c) 2014-2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ */
+
+/*
+ * Applicable to all below revisions of P2360
+ * A00, A01, A03, B00
+ */
+
+ /dts-v1/;
+
+#include "tegra124-p2360.dtsi"
+
+/ {
+       spi@7000d800 {
+               status = "okay";
+               nvidia,slave-ready-gpio = <&gpio TEGRA_GPIO(O, 2) GPIO_ACTIVE_HIGH>; /*PO2*/
+       };
+
+       isc-mgr.0 {
+               status = "okay";
+
+               pwdn-gpios = < &gpio TEGRA_GPIO(Q, 1) GPIO_ACTIVE_HIGH  /* GMSL_IN1_PDN */
+                       &gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN1 */
+                       &gpio TEGRA_GPIO(K, 2) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN2 */
+                       &gpio TEGRA_GPIO(K, 0) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN3 */
+                       &gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;       /* CSI1_TV_EN4 */
+               /* default-power-on; */
+       };
+};
diff --git a/arch/arm/boot/dts/tegra124-p2360-b01.dts b/arch/arm/boot/dts/tegra124-p2360-b01.dts
new file mode 100644 (file)
index 0000000..d112623
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * arch/arm/boot/dts/tegra124-p2360-b01.dts
+ *
+ * Copyright (c) 2014-2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ */
+
+/*
+ * Applicable to revision B01/B2 of P2360
+ */
+
+ /dts-v1/;
+
+#include "tegra124-p2360.dtsi"
+
+/ {
+       spi@7000d800 {
+               status = "okay";
+               nvidia,slave-ready-gpio = <&gpio TEGRA_GPIO(W, 5) GPIO_ACTIVE_HIGH>; /*PW5*/
+       };
+
+       isc-mgr.0 {
+               status = "okay";
+
+               pwdn-gpios = < &gpio TEGRA_GPIO(Q, 1) GPIO_ACTIVE_HIGH  /* GMSL_IN1_PDN */
+                       &gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN1 */
+                       &gpio TEGRA_GPIO(K, 2) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN2 */
+                       &gpio TEGRA_GPIO(P, 3) GPIO_ACTIVE_HIGH         /* CSI1_TV_EN3 */
+                       &gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;       /* CSI1_TV_EN4 */
+               /* default-power-on; */
+       };
+};
diff --git a/arch/arm/boot/dts/tegra124-p2360.dtsi b/arch/arm/boot/dts/tegra124-p2360.dtsi
new file mode 100644 (file)
index 0000000..8be5731
--- /dev/null
@@ -0,0 +1,262 @@
+/*
+ * arch/arm/boot/dts/tegra124-p2360.dts
+ *
+ * Copyright (c) 2014-2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ */
+
+#include "tegra124-vcm30_t124.dtsi"
+#include <tegra124-platforms/tegra124-vcm30-t124-hdmi.dtsi>
+#include <panel-a-lvds-800-480-14-0.dtsi>
+#include <dt-bindings/display/tegra-panel.h>
+#include <tegra124-platforms/tegra124-pmic-vcm30t124-max20024.dtsi>
+
+/ {
+       model = "NVIDIA Tegra124 p2360";
+       compatible = "nvidia,p2360", "nvidia,tegra124";
+       nvidia,dtsfilename = __FILE__;
+       #address-cells = <2>;
+       #size-cells = <2>;
+
+       host1x {
+               sor {
+                       status = "okay";
+                       panel-lvds-800-480 {
+                               status = "okay";
+                               disp-default-out {
+                                       nvidia,out-max-pixclk = <3367>;
+                               };
+                       };
+               };
+               /* tegradc.0 */
+               dc@54200000 {
+                       nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
+                       nvidia,emc-clk-rate = <300000000>;
+                       nvidia,fb-bpp = <32>; /* bits per pixel */
+                       status = "okay";
+               };
+               /* tegradc.1 */
+               dc@54240000 {
+                       nvidia,emc-clk-rate = <300000000>;
+                       nvidia,fb-bpp = <32>; /* bits per pixel */
+                       status = "okay";
+               };
+               hdmi {
+                       nvidia,hpd-gpio = <&gpio 0xFFFFFFFF 1>; /* hotplug less HDMI */
+                       hdmi-display {
+                               nvidia,edid = [00 FF FF FF FF FF FF 00 04 21 00 00 00 00 00 00
+                                               01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
+                                               00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
+                                               01 01 01 01 01 01 FE 0C 20 00 31 E0 2D 10 40 40
+                                               43 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
+                                               00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
+                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
+                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61];
+                               nvidia,hdmi-fpd-bridge = <TEGRA_HDMI_ENABLE>;
+                       };
+               };
+       };
+
+       i2c@7000c700 {
+               fpd-serializer@0c {
+                       compatible = "ti,ds90uh949";
+                       reg = <0x0c>;
+                       ti,enable-gpio = <&gpio TEGRA_GPIO(R, 4) 0>; /*PR4*/
+                       ti,power-on-delay = <4>;
+                       ti,power-off-delay = <3>;
+               };
+       };
+
+       i2c@7000d000 {
+               status = "okay";
+
+               max16989@3a {
+                       compatible = "maxim,max16989";
+                       reg = <0x3a>;
+                       regulator-name = "max16989-vdd-cpu";
+                       regulator-min-microvolt = <500000>;
+                       regulator-max-microvolt = <1500000>;
+                       consumers {
+                               c1 {
+                                       regulator-consumer-supply = "vdd_cpu";
+                               };
+                       };
+               };
+
+               max16989@38 {
+                       compatible = "maxim,max16989";
+                       reg = <0x38>;
+                       regulator-name = "max16989-vdd-gpu";
+                       regulator-min-microvolt = <500000>;
+                       regulator-max-microvolt = <1500000>;
+                       maxim,enable-gpio = <&gpio TEGRA_GPIO(R, 2) 0>;
+                       regulator-enable-ramp-delay = <210>;
+                       consumers {
+                               c1 {
+                                       regulator-consumer-supply = "vdd_gpu";
+                               };
+                       };
+               };
+
+               max16989@3b {
+                       compatible = "maxim,max16989";
+                       reg = <0x3b>;
+                       regulator-name = "max16989-vdd-gpu";
+                       regulator-min-microvolt = <500000>;
+                       regulator-max-microvolt = <1500000>;
+                       enable-gpio = <&gpio TEGRA_GPIO(R, 2) 0>;
+                       regulator-enable-ramp-delay = <210>;
+                       consumers {
+                               c1 {
+                                       regulator-consumer-supply = "vdd_gpu";
+                               };
+                       };
+               };
+       };
+
+
+       serial@70006040 {
+               compatible = "nvidia,tegra20-uart";
+               console-port;
+               status = "okay";
+       };
+
+       spi@7000d400 {
+               status = "okay";
+               compatible = "nvidia,tegra124-spi-slave";
+               nvidia,clk-pin = "gpio_x5_aud_px5";
+               nvidia,slave-ready-gpio = <&gpio TEGRA_GPIO(K, 4) GPIO_ACTIVE_HIGH>; /*PK4*/
+               nvidia,rx-trigger-words = <0>;
+       };
+
+       spi@7000d600 {
+               status = "okay";
+               nvidia,maximum-dma-buffer-size = <65536>;
+
+               spi@1 {
+                       status = "disabled";
+               };
+
+               spiflash@1 {
+                       compatible = "s25fl512s";
+                       reg = <1>;
+                       spi-max-frequency = <25000000>;
+               };
+       };
+
+       spi@7000d800 {
+               status = "okay";
+               compatible = "nvidia,tegra124-spi-slave";
+               nvidia,clk-pin = "ulpi_data2_po3";
+               nvidia,rx-trigger-words = <0>;
+       };
+
+       spi@7000dc00 {
+               status = "okay";
+               compatible = "nvidia,tegra124-spi-slave";
+               nvidia,clk-pin = "ulpi_nxt_py2";
+               nvidia,slave-ready-gpio = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>; /*PI3*/
+               nvidia,rx-trigger-words = <0>;
+       };
+
+       pcie-controller {
+               status = "okay";
+               nvidia,boot-detect-delay = <10000>;
+
+               pci@1,0 {
+                       status = "okay";
+               };
+
+               pci@2,0 {
+                       status = "okay";
+               };
+       };
+
+       sdhci@700b0600 {
+               status = "okay";
+       };
+
+       snor {
+               status = "okay";
+       };
+
+       ehci@7d000000 {
+               nvidia,is-intf-utmi;
+               status = "disabled";
+       };
+
+       ehci@7d004000 {
+               nvidia,is-intf-utmi;
+               status = "okay";
+       };
+
+       ehci@7d008000 {
+               nvidia,is-intf-utmi;
+               status = "okay";
+       };
+
+       smmu: iommu {
+               #asids = <120>;
+       };
+
+       cpu_dfll_pmic_integration {
+               pmic-i2c-address = <0x74>;
+               pmic-i2c-voltage-register = <0x07>;
+               i2c-fs-rate = <400000>;
+               sel-conversion-slope = <1>;
+       };
+
+       isc-mgr.0 {
+               compatible = "nvidia,isc-mgr";
+               i2c-bus = <2>;
+               csi-port = <0>;
+               interrupt-parent = <&gpio>;
+               interrupts = <TEGRA_GPIO(S, 3) 2>; /* gpio PS3 : falling edge sensitive */
+               status = "okay";
+       };
+
+       isc-mgr.1 {
+               compatible = "nvidia,isc-mgr";
+               i2c-bus = <0>;
+               csi-port = <2>;
+               /* default-power-on; */
+               interrupt-parent = <&gpio>;
+               interrupts = <TEGRA_GPIO(R, 3) 2>; /* gpio PR3 : falling edge sensitive */
+               status = "okay";
+       };
+
+       regulators {
+               compatible = "simple-bus";
+               device_type = "fixed-regulators";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               vdd_fuse: regulator@1 {
+                       compatible = "regulator-fixed-sync";
+                       regulator-name = "vdd_fuse";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       gpio = <&max20024 0 0>;
+                       enable-active-high;
+               };
+       };
+
+       /* Populate fuse supply */
+       efuse@7000f800 {
+               vpp_fuse-supply = <&vdd_fuse>;
+       };
+
+};