ARM: tegra: rearrange the Norrin top level dts file
[linux-3.10.git] / arch / arm64 / boot / dts / tegra132-norrin-pm374-0001-common.dtsi
1 #include "tegra132.dtsi"
2 #include "tegra124-platforms/tegra124-pm374-gpio-default.dtsi"
3 #include "tegra124-platforms/tegra124-pm374-pinmux.dtsi"
4
5 / {
6         model = "norrin";
7         compatible = "nvidia,norrin", "nvidia,tegra132";
8         #address-cells = <2>;
9         #size-cells = <2>;
10
11         chosen {
12                 bootargs = "tegraid=40.0.0.00.00 vmalloc=256M video=tegrafb console=ttyS0,115200n8 earlyprintk";
13                 linux,initrd-start = <0x82080000>;
14                 linux,initrd-end = <0x824B5300>;
15         };
16
17         serial@70006000 {
18                 compatible = "nvidia,tegra114-hsuart";
19                 status = "okay";
20         };
21
22         serial@70006040 {
23                 compatible = "nvidia,tegra114-hsuart";
24                 status = "okay";
25         };
26
27         serial@70006200 {
28                 compatible = "nvidia,tegra114-hsuart";
29                 status = "okay";
30         };
31
32         i2c@7000c000 {
33                 clock-frequency = <100000>;
34
35                 cm32181@48 {
36                         compatible = "capella,cm32181";
37                         reg = <0x48>;
38                 };
39         };
40
41         i2c@7000d000 {
42                 nvidia,bit-banging-xfer-after-shutdown;
43         };
44
45         memory@0x80000000 {
46                 device_type = "memory";
47                 reg = <0x0 0x80000000 0x0 0x80000000>;
48         };
49
50         spi@7000d400 {
51                 status = "okay";
52                 spi-max-frequency = <25000000>;
53         };
54
55         spi@7000d800 {
56                 status = "okay";
57                 spi-max-frequency = <25000000>;
58         };
59
60         spi@7000da00 {
61                 status = "okay";
62                 spi-max-frequency = <25000000>;
63         };
64
65         pmc {
66                 status = "okay";
67                 nvidia,invert-interrupt;
68                 nvidia,suspend-mode = <0>;
69                 nvidia,cpu-pwr-good-time = <2000>;
70                 nvidia,cpu-pwr-off-time = <2000>;
71                 nvidia,core-pwr-good-time = <3845 3845>;
72                 nvidia,core-pwr-off-time = <2000>;
73                 nvidia,core-power-req-active-high;
74                 nvidia,sys-clock-req-active-high;
75         };
76
77         dfll@70040084 {
78                 board-params = <&{/cpu_dfll_board_params}>;
79                 i2c-pmic-integration = <&{/cpu_dfll_pmic_integration}>;
80                 monitor-data-new-workaround;
81                 status = "okay";
82         };
83
84         cpu_dfll_board_params {
85                 sample-rate = <12500>;
86                 fixed-output-forcing;
87                 cf = <10>;
88                 ci = <0>;
89                 cg = <2>;
90                 droop-cut-value = <0xf>;
91                 droop-restore-ramp = <0x0>;
92                 scale-out-ramp = <0x0>;
93         };
94
95         cpu_dfll_pmic_integration {
96                 pmic-i2c-address = <0x80>;
97                 pmic-i2c-voltage-register = <0x00>;
98                 i2c-fs-rate = <400000>;
99                 sel-conversion-slope = <1>;
100         };
101
102         xusb@70090000 {
103                 /* nvidia,uses_external_pmic;
104                 nvidia,gpio_controls_muxed_ss_lanes; */
105                 nvidia,gpio_ss1_sata = <0>;
106                 nvidia,portmap = <0x703>; /* SSP0, SSP1 USB2P0, USB2P1, USBP2 */
107                 nvidia,ss_portmap = <0x20>; /* SSP0 on USB2P0, SSP1 on USB2P2 */
108                 nvidia,lane_owner = <6>; /* USB3P0 USB3P1 */
109                 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
110                 nvidia,supply_utmi_vbuses = "usb_vbus0", "usb_vbus1", "usb_vbus2";
111                 nvidia,supply_s3p3v = "hvdd_usb";
112                 nvidia,supply_s1p8v = "avdd_pll_utmip";
113                 nvidia,supply_vddio_hsic = "vddio_hsic";
114                 nvidia,supply_s1p05v = "avddio_usb";
115                 /* hsic config values in order defined in structure */
116                 nvidia,hsic0 = /bits/8 <0x1 0x1 0x8 0xa 0 0 1 0x22 0>;
117                 status = "okay";
118         };
119 };