Commit 07999587 authored by Stephen Warren's avatar Stephen Warren

ARM: tegra: document reset properties in DT bindings

Update all the Tegra DT bindings to require resets/reset-names properties
where the HW module has reset inputs. Remove any entries from clocks or
clock-names that were only required to identify reset inputs, rather than
referring to real clocks.

This is a DT-ABI-incompatible change. It is the first of two changes
required for me to consider the Tegra DT bindings as stable, the other
being conversion to the common DMA DT bindings.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-By: default avatarTerje Bergstrom <tbergstrom@nvidia.com>
parent d8f64797
...@@ -15,6 +15,9 @@ Required properties : ...@@ -15,6 +15,9 @@ Required properties :
In clock consumers, this cell represents the clock ID exposed by the In clock consumers, this cell represents the clock ID exposed by the
CAR. The assignments may be found in header file CAR. The assignments may be found in header file
<dt-bindings/clock/tegra114-car.h>. <dt-bindings/clock/tegra114-car.h>.
- #reset-cells : Should be 1.
In clock consumers, this cell represents the bit number in the CAR's
array of CLK_RST_CONTROLLER_RST_DEVICES_* registers.
Example SoC include file: Example SoC include file:
...@@ -23,6 +26,7 @@ Example SoC include file: ...@@ -23,6 +26,7 @@ Example SoC include file:
compatible = "nvidia,tegra114-car"; compatible = "nvidia,tegra114-car";
reg = <0x60006000 0x1000>; reg = <0x60006000 0x1000>;
#clock-cells = <1>; #clock-cells = <1>;
#reset-cells = <1>;
}; };
usb@c5004000 { usb@c5004000 {
......
...@@ -15,6 +15,9 @@ Required properties : ...@@ -15,6 +15,9 @@ Required properties :
In clock consumers, this cell represents the clock ID exposed by the In clock consumers, this cell represents the clock ID exposed by the
CAR. The assignments may be found in header file CAR. The assignments may be found in header file
<dt-bindings/clock/tegra124-car.h>. <dt-bindings/clock/tegra124-car.h>.
- #reset-cells : Should be 1.
In clock consumers, this cell represents the bit number in the CAR's
array of CLK_RST_CONTROLLER_RST_DEVICES_* registers.
Example SoC include file: Example SoC include file:
...@@ -23,6 +26,7 @@ Example SoC include file: ...@@ -23,6 +26,7 @@ Example SoC include file:
compatible = "nvidia,tegra124-car"; compatible = "nvidia,tegra124-car";
reg = <0x60006000 0x1000>; reg = <0x60006000 0x1000>;
#clock-cells = <1>; #clock-cells = <1>;
#reset-cells = <1>;
}; };
usb@c5004000 { usb@c5004000 {
......
...@@ -15,6 +15,9 @@ Required properties : ...@@ -15,6 +15,9 @@ Required properties :
In clock consumers, this cell represents the clock ID exposed by the In clock consumers, this cell represents the clock ID exposed by the
CAR. The assignments may be found in header file CAR. The assignments may be found in header file
<dt-bindings/clock/tegra20-car.h>. <dt-bindings/clock/tegra20-car.h>.
- #reset-cells : Should be 1.
In clock consumers, this cell represents the bit number in the CAR's
array of CLK_RST_CONTROLLER_RST_DEVICES_* registers.
Example SoC include file: Example SoC include file:
...@@ -23,6 +26,7 @@ Example SoC include file: ...@@ -23,6 +26,7 @@ Example SoC include file:
compatible = "nvidia,tegra20-car"; compatible = "nvidia,tegra20-car";
reg = <0x60006000 0x1000>; reg = <0x60006000 0x1000>;
#clock-cells = <1>; #clock-cells = <1>;
#reset-cells = <1>;
}; };
usb@c5004000 { usb@c5004000 {
......
...@@ -15,6 +15,9 @@ Required properties : ...@@ -15,6 +15,9 @@ Required properties :
In clock consumers, this cell represents the clock ID exposed by the In clock consumers, this cell represents the clock ID exposed by the
CAR. The assignments may be found in header file CAR. The assignments may be found in header file
<dt-bindings/clock/tegra30-car.h>. <dt-bindings/clock/tegra30-car.h>.
- #reset-cells : Should be 1.
In clock consumers, this cell represents the bit number in the CAR's
array of CLK_RST_CONTROLLER_RST_DEVICES_* registers.
Example SoC include file: Example SoC include file:
...@@ -23,6 +26,7 @@ Example SoC include file: ...@@ -23,6 +26,7 @@ Example SoC include file:
compatible = "nvidia,tegra30-car"; compatible = "nvidia,tegra30-car";
reg = <0x60006000 0x1000>; reg = <0x60006000 0x1000>;
#clock-cells = <1>; #clock-cells = <1>;
#reset-cells = <1>;
}; };
usb@c5004000 { usb@c5004000 {
......
...@@ -7,6 +7,10 @@ Required properties: ...@@ -7,6 +7,10 @@ Required properties:
- interrupts: Should contain all of the per-channel DMA interrupts. - interrupts: Should contain all of the per-channel DMA interrupts.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- dma
Examples: Examples:
...@@ -30,4 +34,6 @@ apbdma: dma@6000a000 { ...@@ -30,4 +34,6 @@ apbdma: dma@6000a000 {
0 150 0x04 0 150 0x04
0 151 0x04 >; 0 151 0x04 >;
clocks = <&tegra_car 34>; clocks = <&tegra_car 34>;
resets = <&tegra_car 34>;
reset-names = "dma";
}; };
...@@ -11,6 +11,10 @@ Required properties: ...@@ -11,6 +11,10 @@ Required properties:
- ranges: The mapping of the host1x address space to the CPU address space. - ranges: The mapping of the host1x address space to the CPU address space.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- host1x
The host1x top-level node defines a number of children, each representing one The host1x top-level node defines a number of children, each representing one
of the following host1x client modules: of the following host1x client modules:
...@@ -23,6 +27,10 @@ of the following host1x client modules: ...@@ -23,6 +27,10 @@ of the following host1x client modules:
- interrupts: The interrupt outputs from the controller. - interrupts: The interrupt outputs from the controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- mpe
- vi: video input - vi: video input
...@@ -32,6 +40,10 @@ of the following host1x client modules: ...@@ -32,6 +40,10 @@ of the following host1x client modules:
- interrupts: The interrupt outputs from the controller. - interrupts: The interrupt outputs from the controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- vi
- epp: encoder pre-processor - epp: encoder pre-processor
...@@ -41,6 +53,10 @@ of the following host1x client modules: ...@@ -41,6 +53,10 @@ of the following host1x client modules:
- interrupts: The interrupt outputs from the controller. - interrupts: The interrupt outputs from the controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- epp
- isp: image signal processor - isp: image signal processor
...@@ -50,6 +66,10 @@ of the following host1x client modules: ...@@ -50,6 +66,10 @@ of the following host1x client modules:
- interrupts: The interrupt outputs from the controller. - interrupts: The interrupt outputs from the controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- isp
- gr2d: 2D graphics engine - gr2d: 2D graphics engine
...@@ -59,6 +79,10 @@ of the following host1x client modules: ...@@ -59,6 +79,10 @@ of the following host1x client modules:
- interrupts: The interrupt outputs from the controller. - interrupts: The interrupt outputs from the controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- 2d
- gr3d: 3D graphics engine - gr3d: 3D graphics engine
...@@ -72,6 +96,11 @@ of the following host1x client modules: ...@@ -72,6 +96,11 @@ of the following host1x client modules:
- 3d - 3d
This MUST be the first entry. This MUST be the first entry.
- 3d2 (Only required on SoCs with two 3D clocks) - 3d2 (Only required on SoCs with two 3D clocks)
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- 3d
- 3d2 (Only required on SoCs with two 3D clocks)
- dc: display controller - dc: display controller
...@@ -85,6 +114,10 @@ of the following host1x client modules: ...@@ -85,6 +114,10 @@ of the following host1x client modules:
- dc - dc
This MUST be the first entry. This MUST be the first entry.
- parent - parent
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- dc
Each display controller node has a child node, named "rgb", that represents Each display controller node has a child node, named "rgb", that represents
the RGB output associated with the controller. It can take the following the RGB output associated with the controller. It can take the following
...@@ -107,6 +140,10 @@ of the following host1x client modules: ...@@ -107,6 +140,10 @@ of the following host1x client modules:
- hdmi - hdmi
This MUST be the first entry. This MUST be the first entry.
- parent - parent
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- hdmi
Optional properties: Optional properties:
- nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
...@@ -133,6 +170,10 @@ of the following host1x client modules: ...@@ -133,6 +170,10 @@ of the following host1x client modules:
- dsi - dsi
This MUST be the first entry. This MUST be the first entry.
- parent - parent
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- dsi
Example: Example:
...@@ -145,6 +186,8 @@ Example: ...@@ -145,6 +186,8 @@ Example:
interrupts = <0 65 0x04 /* mpcore syncpt */ interrupts = <0 65 0x04 /* mpcore syncpt */
0 67 0x04>; /* mpcore general */ 0 67 0x04>; /* mpcore general */
clocks = <&tegra_car TEGRA20_CLK_HOST1X>; clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
resets = <&tegra_car 28>;
reset-names = "host1x";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -156,6 +199,8 @@ Example: ...@@ -156,6 +199,8 @@ Example:
reg = <0x54040000 0x00040000>; reg = <0x54040000 0x00040000>;
interrupts = <0 68 0x04>; interrupts = <0 68 0x04>;
clocks = <&tegra_car TEGRA20_CLK_MPE>; clocks = <&tegra_car TEGRA20_CLK_MPE>;
resets = <&tegra_car 60>;
reset-names = "mpe";
}; };
vi { vi {
...@@ -163,6 +208,8 @@ Example: ...@@ -163,6 +208,8 @@ Example:
reg = <0x54080000 0x00040000>; reg = <0x54080000 0x00040000>;
interrupts = <0 69 0x04>; interrupts = <0 69 0x04>;
clocks = <&tegra_car TEGRA20_CLK_VI>; clocks = <&tegra_car TEGRA20_CLK_VI>;
resets = <&tegra_car 100>;
reset-names = "vi";
}; };
epp { epp {
...@@ -170,6 +217,8 @@ Example: ...@@ -170,6 +217,8 @@ Example:
reg = <0x540c0000 0x00040000>; reg = <0x540c0000 0x00040000>;
interrupts = <0 70 0x04>; interrupts = <0 70 0x04>;
clocks = <&tegra_car TEGRA20_CLK_EPP>; clocks = <&tegra_car TEGRA20_CLK_EPP>;
resets = <&tegra_car 19>;
reset-names = "epp";
}; };
isp { isp {
...@@ -177,6 +226,8 @@ Example: ...@@ -177,6 +226,8 @@ Example:
reg = <0x54100000 0x00040000>; reg = <0x54100000 0x00040000>;
interrupts = <0 71 0x04>; interrupts = <0 71 0x04>;
clocks = <&tegra_car TEGRA20_CLK_ISP>; clocks = <&tegra_car TEGRA20_CLK_ISP>;
resets = <&tegra_car 23>;
reset-names = "isp";
}; };
gr2d { gr2d {
...@@ -184,12 +235,16 @@ Example: ...@@ -184,12 +235,16 @@ Example:
reg = <0x54140000 0x00040000>; reg = <0x54140000 0x00040000>;
interrupts = <0 72 0x04>; interrupts = <0 72 0x04>;
clocks = <&tegra_car TEGRA20_CLK_GR2D>; clocks = <&tegra_car TEGRA20_CLK_GR2D>;
resets = <&tegra_car 21>;
reset-names = "2d";
}; };
gr3d { gr3d {
compatible = "nvidia,tegra20-gr3d"; compatible = "nvidia,tegra20-gr3d";
reg = <0x54180000 0x00040000>; reg = <0x54180000 0x00040000>;
clocks = <&tegra_car TEGRA20_CLK_GR3D>; clocks = <&tegra_car TEGRA20_CLK_GR3D>;
resets = <&tegra_car 24>;
reset-names = "3d";
}; };
dc@54200000 { dc@54200000 {
...@@ -199,6 +254,8 @@ Example: ...@@ -199,6 +254,8 @@ Example:
clocks = <&tegra_car TEGRA20_CLK_DISP1>, clocks = <&tegra_car TEGRA20_CLK_DISP1>,
<&tegra_car TEGRA20_CLK_PLL_P>; <&tegra_car TEGRA20_CLK_PLL_P>;
clock-names = "disp1", "parent"; clock-names = "disp1", "parent";
resets = <&tegra_car 27>;
reset-names = "dc";
rgb { rgb {
status = "disabled"; status = "disabled";
...@@ -212,6 +269,8 @@ Example: ...@@ -212,6 +269,8 @@ Example:
clocks = <&tegra_car TEGRA20_CLK_DISP2>, clocks = <&tegra_car TEGRA20_CLK_DISP2>,
<&tegra_car TEGRA20_CLK_PLL_P>; <&tegra_car TEGRA20_CLK_PLL_P>;
clock-names = "disp2", "parent"; clock-names = "disp2", "parent";
resets = <&tegra_car 26>;
reset-names = "dc";
rgb { rgb {
status = "disabled"; status = "disabled";
...@@ -225,6 +284,8 @@ Example: ...@@ -225,6 +284,8 @@ Example:
clocks = <&tegra_car TEGRA20_CLK_HDMI>, clocks = <&tegra_car TEGRA20_CLK_HDMI>,
<&tegra_car TEGRA20_CLK_PLL_D_OUT0>; <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
clock-names = "hdmi", "parent"; clock-names = "hdmi", "parent";
resets = <&tegra_car 51>;
reset-names = "hdmi";
status = "disabled"; status = "disabled";
}; };
...@@ -242,6 +303,8 @@ Example: ...@@ -242,6 +303,8 @@ Example:
clocks = <&tegra_car TEGRA20_CLK_DSI>, clocks = <&tegra_car TEGRA20_CLK_DSI>,
<&tegra_car TEGRA20_CLK_PLL_D_OUT0>; <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
clock-names = "dsi", "parent"; clock-names = "dsi", "parent";
resets = <&tegra_car 48>;
reset-names = "dsi";
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -47,6 +47,10 @@ Required properties: ...@@ -47,6 +47,10 @@ Required properties:
- fast-clk - fast-clk
Tegra114: Tegra114:
- div-clk - div-clk
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- i2c
Example: Example:
...@@ -58,5 +62,7 @@ Example: ...@@ -58,5 +62,7 @@ Example:
#size-cells = <0>; #size-cells = <0>;
clocks = <&tegra_car 12>, <&tegra_car 124>; clocks = <&tegra_car 12>, <&tegra_car 124>;
clock-names = "div-clk", "fast-clk"; clock-names = "div-clk", "fast-clk";
resets = <&tegra_car 12>;
reset-names = "i2c";
status = "disabled"; status = "disabled";
}; };
...@@ -15,6 +15,10 @@ Required properties: ...@@ -15,6 +15,10 @@ Required properties:
devicetree/bindings/input/matrix-keymap.txt. devicetree/bindings/input/matrix-keymap.txt.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- kbc
Optional properties, in addition to those specified by the shared Optional properties, in addition to those specified by the shared
matrix-keyboard bindings: matrix-keyboard bindings:
...@@ -34,6 +38,8 @@ keyboard: keyboard { ...@@ -34,6 +38,8 @@ keyboard: keyboard {
reg = <0x7000e200 0x100>; reg = <0x7000e200 0x100>;
interrupts = <0 85 0x04>; interrupts = <0 85 0x04>;
clocks = <&tegra_car 36>; clocks = <&tegra_car 36>;
resets = <&tegra_car 36>;
reset-names = "kbc";
nvidia,ghost-filter; nvidia,ghost-filter;
nvidia,debounce-delay-ms = <640>; nvidia,debounce-delay-ms = <640>;
nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */ nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */
......
...@@ -10,6 +10,10 @@ Required properties: ...@@ -10,6 +10,10 @@ Required properties:
- compatible : Should be "nvidia,<chip>-sdhci" - compatible : Should be "nvidia,<chip>-sdhci"
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- sdhci
Optional properties: Optional properties:
- power-gpios : Specify GPIOs for power control - power-gpios : Specify GPIOs for power control
...@@ -21,6 +25,8 @@ sdhci@c8000200 { ...@@ -21,6 +25,8 @@ sdhci@c8000200 {
reg = <0xc8000200 0x200>; reg = <0xc8000200 0x200>;
interrupts = <47>; interrupts = <47>;
clocks = <&tegra_car 14>; clocks = <&tegra_car 14>;
resets = <&tegra_car 14>;
reset-names = "sdhci";
cd-gpios = <&gpio 69 0>; /* gpio PI5 */ cd-gpios = <&gpio 69 0>; /* gpio PI5 */
wp-gpios = <&gpio 57 0>; /* gpio PH1 */ wp-gpios = <&gpio 57 0>; /* gpio PH1 */
power-gpios = <&gpio 155 0>; /* gpio PT3 */ power-gpios = <&gpio 155 0>; /* gpio PT3 */
......
...@@ -15,3 +15,7 @@ Required properties: ...@@ -15,3 +15,7 @@ Required properties:
- fast-clk - fast-clk
Tegra114: Tegra114:
- div-clk - div-clk
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- i2c
...@@ -47,9 +47,14 @@ Required properties: ...@@ -47,9 +47,14 @@ Required properties:
- clock-names: Must include the following entries: - clock-names: Must include the following entries:
- pex - pex
- afi - afi
- pcie_xclk
- pll_e - pll_e
- cml (not required for Tegra20) - cml (not required for Tegra20)
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- pex
- afi
- pcie_x
Root ports are defined as subnodes of the PCIe controller node. Root ports are defined as subnodes of the PCIe controller node.
...@@ -91,9 +96,10 @@ SoC DTSI: ...@@ -91,9 +96,10 @@ SoC DTSI:
0x82000000 0 0xa0000000 0xa0000000 0 0x10000000 /* non-prefetchable memory */ 0x82000000 0 0xa0000000 0xa0000000 0 0x10000000 /* non-prefetchable memory */
0xc2000000 0 0xb0000000 0xb0000000 0 0x10000000>; /* prefetchable memory */ 0xc2000000 0 0xb0000000 0xb0000000 0 0x10000000>; /* prefetchable memory */
clocks = <&tegra_car 70>, <&tegra_car 72>, <&tegra_car 74>, clocks = <&tegra_car 70>, <&tegra_car 72>, <&tegra_car 118>;
<&tegra_car 118>; clock-names = "pex", "afi", "pll_e";
clock-names = "pex", "afi", "pcie_xclk", "pll_e"; resets = <&tegra_car 70>, <&tegra_car 72>, <&tegra_car 74>;
reset-names = "pex", "afi", "pcie_x";
status = "disabled"; status = "disabled";
pci@1,0 { pci@1,0 {
......
...@@ -9,6 +9,10 @@ Required properties: ...@@ -9,6 +9,10 @@ Required properties:
the cells format. the cells format.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets: Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- pwm
Example: Example:
...@@ -17,4 +21,6 @@ Example: ...@@ -17,4 +21,6 @@ Example:
reg = <0x7000a000 0x100>; reg = <0x7000a000 0x100>;
#pwm-cells = <2>; #pwm-cells = <2>;
clocks = <&tegra_car 17>; clocks = <&tegra_car 17>;
resets = <&tegra_car 17>;
reset-names = "pwm";
}; };
...@@ -8,6 +8,10 @@ Required properties: ...@@ -8,6 +8,10 @@ Required properties:
request selector for this UART controller. request selector for this UART controller.
- clocks: Must contain one entry, for the module clock. - clocks: Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- serial
Optional properties: Optional properties:
- nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable - nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable
...@@ -23,5 +27,7 @@ serial@70006000 { ...@@ -23,5 +27,7 @@ serial@70006000 {
nvidia,dma-request-selector = <&apbdma 8>; nvidia,dma-request-selector = <&apbdma 8>;
nvidia,enable-modem-interrupt; nvidia,enable-modem-interrupt;
clocks = <&tegra_car 6>; clocks = <&tegra_car 6>;
resets = <&tegra_car 6>;
reset-names = "serial";
status = "disabled"; status = "disabled";
}; };
...@@ -6,6 +6,10 @@ Required properties: ...@@ -6,6 +6,10 @@ Required properties:
- interrupts : Should contain AC97 interrupt - interrupts : Should contain AC97 interrupt
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- ac97
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and - nvidia,dma-request-selector : The Tegra DMA controller's phandle and
request selector for the AC97 controller request selector for the AC97 controller
- nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number - nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number
...@@ -23,4 +27,6 @@ ac97@70002000 { ...@@ -23,4 +27,6 @@ ac97@70002000 {
nvidia,codec-reset-gpio = <&gpio 170 0>; nvidia,codec-reset-gpio = <&gpio 170 0>;
nvidia,codec-sync-gpio = <&gpio 120 0>; nvidia,codec-sync-gpio = <&gpio 120 0>;
clocks = <&tegra_car 3>; clocks = <&tegra_car 3>;
resets = <&tegra_car 3>;
reset-names = "ac97";
}; };
...@@ -6,6 +6,10 @@ Required properties: ...@@ -6,6 +6,10 @@ Required properties:
- interrupts : Should contain I2S interrupt - interrupts : Should contain I2S interrupt
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- i2s
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and - nvidia,dma-request-selector : The Tegra DMA controller's phandle and
request selector for this I2S controller request selector for this I2S controller
...@@ -17,4 +21,6 @@ i2s@70002800 { ...@@ -17,4 +21,6 @@ i2s@70002800 {
interrupts = < 45 >; interrupts = < 45 >;
nvidia,dma-request-selector = < &apbdma 2 >; nvidia,dma-request-selector = < &apbdma 2 >;
clocks = <&tegra_car 11>; clocks = <&tegra_car 11>;
resets = <&tegra_car 11>;
reset-names = "i2s";
}; };
...@@ -15,6 +15,11 @@ Required properties: ...@@ -15,6 +15,11 @@ Required properties:
- clocks : Must contain an entry for each entry in clock-names. - clocks : Must contain an entry for each entry in clock-names.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- clock-names : Must include the following entries: - clock-names : Must include the following entries:
- d_audio
- apbif
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
Tegra30 and later: Tegra30 and later:
- d_audio - d_audio
- apbif - apbif
...@@ -26,7 +31,7 @@ Required properties: ...@@ -26,7 +31,7 @@ Required properties:
- dam0 - dam0
- dam1 - dam1
- dam2 - dam2
- spdif_in - spdif
Tegra114 and later additionally require: Tegra114 and later additionally require:
- amx - amx
- adx - adx
...@@ -48,13 +53,15 @@ ahub@70080000 { ...@@ -48,13 +53,15 @@ ahub@70080000 {
reg = <0x70080000 0x200 0x70080200 0x100>; reg = <0x70080000 0x200 0x70080200 0x100>;
interrupts = < 0 103 0x04 >; interrupts = < 0 103 0x04 >;
nvidia,dma-request-selector = <&apbdma 1>; nvidia,dma-request-selector = <&apbdma 1>;
clocks = <&tegra_car 106>, <&tegra_car 107>, <&tegra_car 30>, clocks = <&tegra_car 106>, <&tegra_car 107>;
clock-names = "d_audio", "apbif";
resets = <&tegra_car 106>, <&tegra_car 107>, <&tegra_car 30>,
<&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>, <&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>,
<&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>, <&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>,
<&tegra_car 110>, <&tegra_car 162>; <&tegra_car 110>, <&tegra_car 10>;
clock-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2", reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
"i2s3", "i2s4", "dam0", "dam1", "dam2", "i2s3", "i2s4", "dam0", "dam1", "dam2",
"spdif_in"; "spdif";
ranges; ranges;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -5,6 +5,10 @@ Required properties: ...@@ -5,6 +5,10 @@ Required properties:
- reg : Should contain I2S registers location and length - reg : Should contain I2S registers location and length
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- i2s
- nvidia,ahub-cif-ids : The list of AHUB CIF IDs for this port, rx (playback) - nvidia,ahub-cif-ids : The list of AHUB CIF IDs for this port, rx (playback)
first, tx (capture) second. See nvidia,tegra30-ahub.txt for values. first, tx (capture) second. See nvidia,tegra30-ahub.txt for values.
...@@ -15,4 +19,6 @@ i2s@70080300 { ...@@ -15,4 +19,6 @@ i2s@70080300 {
reg = <0x70080300 0x100>; reg = <0x70080300 0x100>;
nvidia,ahub-cif-ids = <4 4>; nvidia,ahub-cif-ids = <4 4>;
clocks = <&tegra_car 11>; clocks = <&tegra_car 11>;
resets = <&tegra_car 11>;
reset-names = "i2s";
}; };
...@@ -10,6 +10,10 @@ Required properties: ...@@ -10,6 +10,10 @@ Required properties:
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- clock-names : Must include the following entries: - clock-names : Must include the following entries:
- spi - spi
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- spi
Recommended properties: Recommended properties:
- spi-max-frequency: Definition as per - spi-max-frequency: Definition as per
...@@ -26,5 +30,7 @@ spi@7000d600 { ...@@ -26,5 +30,7 @@ spi@7000d600 {
#size-cells = <0>; #size-cells = <0>;
clocks = <&tegra_car 44>; clocks = <&tegra_car 44>;
clock-names = "spi"; clock-names = "spi";
resets = <&tegra_car 44>;
reset-names = "spi";
status = "disabled"; status = "disabled";
}; };
...@@ -8,6 +8,10 @@ Required properties: ...@@ -8,6 +8,10 @@ Required properties:
request selector for this SFLASH controller. request selector for this SFLASH controller.
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- spi
Recommended properties: Recommended properties:
- spi-max-frequency: Definition as per - spi-max-frequency: Definition as per
...@@ -24,5 +28,7 @@ spi@7000c380 { ...@@ -24,5 +28,7 @@ spi@7000c380 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&tegra_car 43>; clocks = <&tegra_car 43>;
resets = <&tegra_car 43>;
reset-names = "spi";
status = "disabled"; status = "disabled";
}; };
...@@ -8,6 +8,10 @@ Required properties: ...@@ -8,6 +8,10 @@ Required properties:
request selector for this SLINK controller. request selector for this SLINK controller.
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- spi
Recommended properties: Recommended properties:
- spi-max-frequency: Definition as per - spi-max-frequency: Definition as per
...@@ -24,5 +28,7 @@ spi@7000d600 { ...@@ -24,5 +28,7 @@ spi@7000d600 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&tegra_car 44>; clocks = <&tegra_car 44>;
resets = <&tegra_car 44>;
reset-names = "spi";
status = "disabled"; status = "disabled";
}; };
...@@ -10,6 +10,10 @@ Required properties : ...@@ -10,6 +10,10 @@ Required properties :
- nvidia,phy : phandle of the PHY that the controller is connected to. - nvidia,phy : phandle of the PHY that the controller is connected to.
- clocks : Must contain one entry, for the module clock. - clocks : Must contain one entry, for the module clock.
See ../clocks/clock-bindings.txt for details. See ../clocks/clock-bindings.txt for details.
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
- usb
Optional properties: Optional properties:
- nvidia,needs-double-reset : boolean is to be set for some of the Tegra20 - nvidia,needs-double-reset : boolean is to be set for some of the Tegra20
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment