ARM: dts: tegra: add sata connector property node
[linux-3.10.git] / arch / arm / boot / dts / tegra124-jetson_tk1-pm375-000-c00-00.dts
1 /dts-v1/;
2
3 #include "tegra124.dtsi"
4 #include "tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi"
5 #include "tegra124-platforms/tegra124-jetson_tk1-gpio-pm375-0000-c00-00.dtsi"
6 #include "tegra124-platforms/tegra124-jetson_tk1-pinmux-pm375-0000-c00-00.dtsi"
7 #include "tegra124-platforms/tegra124-jetson_tk1-pmic-pm375-0000-c00-00.dtsi"
8 #include "tegra124-platforms/tegra124-jetson_tk1-fixed-pm375-0000-c00-00.dtsi"
9 #include "tegra124-platforms/tegra124-pm359-camera-a00.dtsi"
10
11 / {
12         model = "NVIDIA Tegra124 PM375";
13         compatible = "nvidia,jetson-tk1", "nvidia,tegra124";
14         nvidia,dtsfilename = __FILE__;
15         #address-cells = <2>;
16         #size-cells = <2>;
17
18         chosen {
19                 bootargs = "tegraid=40.0.0.00.00 vmalloc=256M video=tegrafb console=ttyS0,115200n8 earlyprintk";
20         };
21
22         pinmux {
23                 pinctrl-names = "default", "drive", "unused", "suspend";
24                 pinctrl-3 = <&pinmux_suspend>;
25
26                 /* Change the pin dap_mclk1_req to required configurations */
27                 unused_lowpower {
28                         dap_mclk1_req_pee2 {
29                         nvidia,pins = "dap_mclk1_req_pee2";
30                         nvidia,function = "sata";
31                         nvidia,enable-input = <TEGRA_PIN_DISABLE>;
32                         nvidia,pull = <TEGRA_PIN_PULL_NONE>;
33                         nvidia,tristate = <TEGRA_PIN_DISABLE>;
34                         };
35                 };
36
37                 /* On suspend, make dap_mclk1_req to pull up */
38                 pinmux_suspend: pins_on_suspend {
39                 dap_mclk1_req_pee2 {
40                         nvidia,pins = "dap_mclk1_req_pee2";
41                         nvidia,pull = <TEGRA_PIN_PULL_UP>;
42                         };
43                 };
44         };
45
46         serial@70006000 {
47                 compatible = "nvidia,tegra114-hsuart";
48                 status = "okay";
49         };
50
51         serial@70006040 {
52                 compatible = "nvidia,tegra114-hsuart";
53                 status = "okay";
54         };
55
56         serial@70006200 {
57                 compatible = "nvidia,tegra114-hsuart";
58                 status = "okay";
59         };
60
61         i2c@7000d000 {
62                 nvidia,bit-banging-xfer-after-shutdown;
63         };
64
65         memory@0x80000000 {
66                 device_type = "memory";
67                 reg = <0x0 0x80000000 0x0 0x80000000>;
68         };
69
70         spi@7000d400 {
71                 status = "okay";
72                 spi-max-frequency = <25000000>;
73         };
74
75         spi@7000da00 {
76                 status = "okay";
77                 spi-max-frequency = <25000000>;
78         };
79
80         pmc {
81                 status = "okay";
82                 nvidia,invert-interrupt;
83                 nvidia,suspend-mode = <0>;
84                 nvidia,cpu-pwr-good-time = <500>;
85                 nvidia,cpu-pwr-off-time = <300>;
86                 nvidia,core-pwr-good-time = <3845 3845>;
87                 nvidia,core-pwr-off-time = <2000>;
88                 nvidia,core-power-req-active-high;
89                 nvidia,sys-clock-req-active-high;
90                 nvidia,lp0-vec = <0xf46ff000 2064>;
91         };
92
93         pcie-controller {
94                 nvidia,port0_status = <1>;
95                 nvidia,port1_status = <1>;
96                 status = "okay";
97         };
98
99         sata@0x70020000 {
100                 nvidia,enable-sata-port;
101                 nvidia,sata-connector-type=<STANDARD_SATA>;
102                 vdd_sata-supply = <&as3722_sd4>;
103                 avdd_sata_pll-supply =<&as3722_sd4>;
104                 avdd_sata-supply = <&as3722_sd4>;
105                 hvdd_sata-supply = <&as3722_gpio2_supply>;
106                 vddio_pex_sata-supply = <&as3722_gpio2_supply>;
107                 status = "okay";
108         };
109
110         xusb@70090000 {
111                 /* nvidia,uses_external_pmic;
112                 nvidia,gpio_controls_muxed_ss_lanes; */
113                 nvidia,gpio_ss1_sata = <0>;
114                 nvidia,portmap = <0x701>; /* SSP0, USB2P0, USBP1, USBP2 */
115                 nvidia,ss_portmap = <0x72>; /* SSP0 on USB2P2 */
116                 nvidia,lane_owner = <4>; /* USB3P0 USB3P1 */
117                 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
118                 status = "okay";
119         };
120 };