diff options
author | Zheng Liu <zhliu@nvidia.com> | 2014-06-16 15:58:53 -0700 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2014-07-22 14:27:16 -0700 |
commit | 1b993e5abffed0e496dbbe0a1e8f947d3bacae4e (patch) | |
tree | ef4b0f50eebe422bfb4b1ba319f4375f19d568b0 /arch/arm64 | |
parent | 0b06de3f67c307249e864afbfe10dc1f30f9d255 (diff) |
arm: tegra: pm375: dtb support for t132 pm375
Add dtb support for t132 pm375.
bug 1522642
Change-Id: If0f769bceaf6edcd8fe5d2fbd067a2ed3a81cca2
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/440519
GVS: Gerrit_Virtual_Submit
Tested-by: Mike Thompson <mikthompson@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/tegra132-jetson-pm375-000-common.dtsi | 153 | ||||
-rw-r--r-- | arch/arm64/boot/dts/tegra132-jetson-pm375-000-d00-00.dts | 16 |
3 files changed, 170 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index a97dbddad121..f3f55a47d83e 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -6,6 +6,7 @@ dtb-$(CONFIG_MACH_T132REF) += tegra132-norrin.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-norrin-pm374-0001-a00-00.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-norrin-pm374-0001-a01-00.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-laguna.dtb +dtb-$(CONFIG_MACH_T132REF) += tegra132-jetson-pm375-000-d00-00.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-bowmore-ers-s.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-bowmore-e1973-1000-a01-00.dtb dtb-$(CONFIG_MACH_T132REF) += tegra132-bowmore-e1973-1000-a01-01.dtb diff --git a/arch/arm64/boot/dts/tegra132-jetson-pm375-000-common.dtsi b/arch/arm64/boot/dts/tegra132-jetson-pm375-000-common.dtsi new file mode 100644 index 000000000000..4922e6265f44 --- /dev/null +++ b/arch/arm64/boot/dts/tegra132-jetson-pm375-000-common.dtsi @@ -0,0 +1,153 @@ +#include "tegra132.dtsi" +#include "tegra124-platforms/tegra124-tn8-keys-e1780-1100-a02.dtsi" +#include "tegra124-platforms/tegra124-jetson_tk1-gpio-pm375-0000-c00-00.dtsi" +#include "tegra124-platforms/tegra124-jetson_tk1-pinmux-pm375-0000-c00-00.dtsi" +#include "tegra124-platforms/tegra124-jetson_tk1-pmic-pm375-0000-c00-00.dtsi" +#include "tegra124-platforms/tegra124-jetson_tk1-fixed-pm375-0000-c00-00.dtsi" + +/ { + model = "NVIDIA Tegra132 PM375"; + compatible = "nvidia,jetson-tk1","nvidia,laguna", "nvidia,tegra132"; + nvidia,dtsfilename = __FILE__; + #address-cells = <2>; + #size-cells = <2>; + + chosen { + bootargs = "tegraid=40.0.0.00.00 vmalloc=256M video=tegrafb console=ttyS0,115200n8 earlyprintk"; + linux,initrd-start = <0x82080000>; + linux,initrd-end = <0x824B5300>; + }; + + pinmux { + pinctrl-names = "default", "drive", "unused", "suspend"; + pinctrl-3 = <&pinmux_suspend>; + + /* Change the pin dap_mclk1_req to required configurations */ + unused_lowpower { + dap_mclk1_req_pee2 { + nvidia,pins = "dap_mclk1_req_pee2"; + nvidia,function = "sata"; + nvidia,enable-input = <TEGRA_PIN_DISABLE>; + nvidia,pull = <TEGRA_PIN_PULL_NONE>; + nvidia,tristate = <TEGRA_PIN_DISABLE>; + }; + }; + + /* On suspend, make dap_mclk1_req to pull up */ + pinmux_suspend: pins_on_suspend { + dap_mclk1_req_pee2 { + nvidia,pins = "dap_mclk1_req_pee2"; + nvidia,pull = <TEGRA_PIN_PULL_UP>; + }; + }; + }; + + serial@70006000 { + compatible = "nvidia,tegra114-hsuart"; + status = "okay"; + }; + + serial@70006040 { + compatible = "nvidia,tegra114-hsuart"; + status = "okay"; + }; + + serial@70006200 { + compatible = "nvidia,tegra114-hsuart"; + status = "okay"; + }; + + i2c@7000d000 { + nvidia,bit-banging-xfer-after-shutdown; + }; + + memory@0x80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x80000000>; + }; + + spi@7000d400 { + status = "okay"; + spi-max-frequency = <25000000>; + }; + + spi@7000da00 { + status = "okay"; + spi-max-frequency = <25000000>; + }; + + pmc { + status = "okay"; + nvidia,invert-interrupt; + nvidia,suspend-mode = <0>; + nvidia,cpu-pwr-good-time = <2000>; + nvidia,cpu-pwr-off-time = <2000>; + nvidia,core-pwr-good-time = <3845 3845>; + nvidia,core-pwr-off-time = <2000>; + nvidia,core-power-req-active-high; + nvidia,sys-clock-req-active-high; + nvidia,lp0-vec = <0xf46ff000 2064>; + }; + + xusb@70090000 { + /* nvidia,uses_external_pmic; + nvidia,gpio_controls_muxed_ss_lanes; */ + nvidia,gpio_ss1_sata = <0>; + nvidia,portmap = <0x703>; /* SSP0, SSP1 USB2P0, USB2P1, USBP2 */ + nvidia,ss_portmap = <0x20>; /* SSP0 on USB2P0, SSP1 on USB2P2 */ + nvidia,lane_owner = <6>; /* USB3P0 USB3P1 */ + nvidia,ulpicap = <0>; /* No ulpi support. can we remove */ + nvidia,supply_utmi_vbuses = "usb_vbus0", "usb_vbus1", "usb_vbus2"; + nvidia,supply_s3p3v = "hvdd_usb"; + nvidia,supply_s1p8v = "avdd_pll_utmip"; + nvidia,supply_vddio_hsic = "vddio_hsic"; + nvidia,supply_s1p05v = "avddio_usb"; + /* hsic config values in order defined in structure */ + nvidia,hsic0 = /bits/8 <0x1 0x1 0x8 0xa 0 0 1 0x22 0>; + status = "okay"; + }; + + pcie-controller { + nvidia,port0_status = <1>; + nvidia,port1_status = <1>; + status = "okay"; + }; + + sata@0x70020000 { + status = "okay"; + nvidia,enable-sata-port; + }; + + dfll@70040084 { + board-params = <&{/cpu_dfll_board_params}>; + i2c-pmic-integration = <&{/cpu_dfll_pmic_integration}>; + monitor-data-new-workaround; + status = "okay"; + }; + + cpu_dfll_board_params { + sample-rate = <12500>; + fixed-output-forcing; + cf = <10>; + ci = <0>; + cg = <2>; + droop-cut-value = <0xf>; + droop-restore-ramp = <0x0>; + scale-out-ramp = <0x0>; + }; + + cpu_dfll_pmic_integration { + pmic-i2c-address = <0x80>; + pmic-i2c-voltage-register = <0x00>; + i2c-fs-rate = <400000>; + sel-conversion-slope = <1>; + }; + + denver_cpuidle_pmic { + type = <1>; /* AMS 3722/3723 */ + retention-voltage = <20>; + lock = <0>; + }; + + +}; diff --git a/arch/arm64/boot/dts/tegra132-jetson-pm375-000-d00-00.dts b/arch/arm64/boot/dts/tegra132-jetson-pm375-000-d00-00.dts new file mode 100644 index 000000000000..2007274aee95 --- /dev/null +++ b/arch/arm64/boot/dts/tegra132-jetson-pm375-000-d00-00.dts @@ -0,0 +1,16 @@ +/dts-v1/; + +#include "tegra132-jetson-pm375-000-common.dtsi" + +/ { + nvidia,boardids = "375:0000:03"; + nvidia,dtsfilename = __FILE__; + nvidia,proc-boardid = "375:0000:03"; + + i2c@7000d000 { + as3722@40 { + ams,major-rev = <1>; + ams,minor-rev = <2>; + }; + }; +}; |