Commit 414ce21a authored by Florian Fainelli's avatar Florian Fainelli

Merge tag 'bcm2835-dt-next-2017-03-21' into devicetree/next

This pull request brings in the DT nodes for enabling HDMI audio on
Raspberry Pi, and nodes to describe the DSI and SDHOST hardware
modules (which are still disabled by default).
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parents 0f11736d 7f31a955
...@@ -69,6 +69,12 @@ &sdhci { ...@@ -69,6 +69,12 @@ &sdhci {
bus-width = <4>; bus-width = <4>;
}; };
&sdhost {
pinctrl-names = "default";
pinctrl-0 = <&sdhost_gpio48>;
bus-width = <4>;
};
&pwm { &pwm {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>; pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
...@@ -92,3 +98,11 @@ &vec { ...@@ -92,3 +98,11 @@ &vec {
power-domains = <&power RPI_POWER_DOMAIN_VEC>; power-domains = <&power RPI_POWER_DOMAIN_VEC>;
status = "okay"; status = "okay";
}; };
&dsi0 {
power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
};
&dsi1 {
power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
};
...@@ -93,10 +93,13 @@ clocks: cprman@7e101000 { ...@@ -93,10 +93,13 @@ clocks: cprman@7e101000 {
#clock-cells = <1>; #clock-cells = <1>;
reg = <0x7e101000 0x2000>; reg = <0x7e101000 0x2000>;
/* CPRMAN derives everything from the platform's /* CPRMAN derives almost everything from the
* oscillator. * platform's oscillator. However, the DSI
* pixel clocks come from the DSI analog PHY.
*/ */
clocks = <&clk_osc>; clocks = <&clk_osc>,
<&dsi0 0>, <&dsi0 1>, <&dsi0 2>,
<&dsi1 0>, <&dsi1 1>, <&dsi1 2>;
}; };
rng@7e104000 { rng@7e104000 {
...@@ -347,6 +350,16 @@ uart0: serial@7e201000 { ...@@ -347,6 +350,16 @@ uart0: serial@7e201000 {
arm,primecell-periphid = <0x00241011>; arm,primecell-periphid = <0x00241011>;
}; };
sdhost: mmc@7e202000 {
compatible = "brcm,bcm2835-sdhost";
reg = <0x7e202000 0x100>;
interrupts = <2 24>;
clocks = <&clocks BCM2835_CLOCK_VPU>;
dmas = <&dma 13>;
dma-names = "rx-tx";
status = "disabled";
};
i2s: i2s@7e203000 { i2s: i2s@7e203000 {
compatible = "brcm,bcm2835-i2s"; compatible = "brcm,bcm2835-i2s";
reg = <0x7e203000 0x20>, reg = <0x7e203000 0x20>,
...@@ -390,6 +403,25 @@ pixelvalve@7e207000 { ...@@ -390,6 +403,25 @@ pixelvalve@7e207000 {
interrupts = <2 14>; /* pwa1 */ interrupts = <2 14>; /* pwa1 */
}; };
dsi0: dsi@7e209000 {
compatible = "brcm,bcm2835-dsi0";
reg = <0x7e209000 0x78>;
interrupts = <2 4>;
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <1>;
clocks = <&clocks BCM2835_PLLA_DSI0>,
<&clocks BCM2835_CLOCK_DSI0E>,
<&clocks BCM2835_CLOCK_DSI0P>;
clock-names = "phy", "escape", "pixel";
clock-output-names = "dsi0_byte",
"dsi0_ddr2",
"dsi0_ddr";
};
thermal: thermal@7e212000 { thermal: thermal@7e212000 {
compatible = "brcm,bcm2835-thermal"; compatible = "brcm,bcm2835-thermal";
reg = <0x7e212000 0x8>; reg = <0x7e212000 0x8>;
...@@ -456,6 +488,26 @@ hvs@7e400000 { ...@@ -456,6 +488,26 @@ hvs@7e400000 {
interrupts = <2 1>; interrupts = <2 1>;
}; };
dsi1: dsi@7e700000 {
compatible = "brcm,bcm2835-dsi1";
reg = <0x7e700000 0x8c>;
interrupts = <2 12>;
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <1>;
clocks = <&clocks BCM2835_PLLD_DSI1>,
<&clocks BCM2835_CLOCK_DSI1E>,
<&clocks BCM2835_CLOCK_DSI1P>;
clock-names = "phy", "escape", "pixel";
clock-output-names = "dsi1_byte",
"dsi1_ddr2",
"dsi1_ddr";
status = "disabled";
};
i2c1: i2c@7e804000 { i2c1: i2c@7e804000 {
compatible = "brcm,bcm2835-i2c"; compatible = "brcm,bcm2835-i2c";
reg = <0x7e804000 0x1000>; reg = <0x7e804000 0x1000>;
...@@ -499,6 +551,8 @@ hdmi: hdmi@7e902000 { ...@@ -499,6 +551,8 @@ hdmi: hdmi@7e902000 {
clocks = <&clocks BCM2835_PLLH_PIX>, clocks = <&clocks BCM2835_PLLH_PIX>,
<&clocks BCM2835_CLOCK_HSM>; <&clocks BCM2835_CLOCK_HSM>;
clock-names = "pixel", "hdmi"; clock-names = "pixel", "hdmi";
dmas = <&dma 17>;
dma-names = "audio-rx";
status = "disabled"; status = "disabled";
}; };
......
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