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