Commit 6e6a3af7 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'omap-for-v3.10/dt-fixes-for-merge-window' of...

Merge tag 'omap-for-v3.10/dt-fixes-for-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

From Tony Lindgren:
Omap device tree fixes for issue discovered during the merge window:

- Fix triggering for GPIO interrupts that's needed for 4430sdp
  Ethernet. Otherwise booting with nfsroot won't work.
- Fix CPU operating point values
- Fix wrong assumption that twl PMIC is always connected to omap3
- Add gpmc for am33xx so beaglebone users can use the bus
- Cosmetic fix for mcspi pin muxing to avoid confusion

* tag 'omap-for-v3.10/dt-fixes-for-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: don't assume boards are using twl4030 for omap3
  ARM: dts: Configure and fix the McSPI pins for 4430sdp
  ARM: dts: AM33XX: Add GPMC node
  ARM: dts: OMAP4460: Fix CPU OPP voltages
  ARM: dts: OMAP36xx: Fix CPU OPP voltages
  ARM: dts: OMAP4: Fix ethernet IRQ for OMAP4 boards
parents 474dbaa7 914dc329
...@@ -403,5 +403,17 @@ wkup_m3: wkup_m3@44d00000 { ...@@ -403,5 +403,17 @@ wkup_m3: wkup_m3@44d00000 {
0x44d80000 0x2000>; /* M3 DMEM */ 0x44d80000 0x2000>; /* M3 DMEM */
ti,hwmods = "wkup_m3"; ti,hwmods = "wkup_m3";
}; };
gpmc: gpmc@50000000 {
compatible = "ti,am3352-gpmc";
ti,hwmods = "gpmc";
reg = <0x50000000 0x2000>;
interrupts = <100>;
num-cs = <7>;
num-waitpins = <2>;
#address-cells = <2>;
#size-cells = <1>;
status = "disabled";
};
}; };
}; };
...@@ -122,6 +122,7 @@ &twl_gpio { ...@@ -122,6 +122,7 @@ &twl_gpio {
&usb_otg_hs { &usb_otg_hs {
interface-type = <0>; interface-type = <0>;
usb-phy = <&usb2_phy>;
mode = <3>; mode = <3>;
power = <50>; power = <50>;
}; };
...@@ -68,6 +68,7 @@ &twl_gpio { ...@@ -68,6 +68,7 @@ &twl_gpio {
&usb_otg_hs { &usb_otg_hs {
interface-type = <0>; interface-type = <0>;
usb-phy = <&usb2_phy>;
mode = <3>; mode = <3>;
power = <50>; power = <50>;
}; };
...@@ -73,6 +73,7 @@ &twl_gpio { ...@@ -73,6 +73,7 @@ &twl_gpio {
&usb_otg_hs { &usb_otg_hs {
interface-type = <0>; interface-type = <0>;
usb-phy = <&usb2_phy>;
mode = <3>; mode = <3>;
power = <50>; power = <50>;
}; };
...@@ -519,7 +519,6 @@ usb_otg_hs: usb_otg_hs@480ab000 { ...@@ -519,7 +519,6 @@ usb_otg_hs: usb_otg_hs@480ab000 {
interrupts = <0 92 0x4>, <0 93 0x4>; interrupts = <0 92 0x4>, <0 93 0x4>;
interrupt-names = "mc", "dma"; interrupt-names = "mc", "dma";
ti,hwmods = "usb_otg_hs"; ti,hwmods = "usb_otg_hs";
usb-phy = <&usb2_phy>;
multipoint = <1>; multipoint = <1>;
num-eps = <16>; num-eps = <16>;
ram-bits = <12>; ram-bits = <12>;
......
...@@ -20,9 +20,9 @@ cpus { ...@@ -20,9 +20,9 @@ cpus {
cpu@0 { cpu@0 {
operating-points = < operating-points = <
/* kHz uV */ /* kHz uV */
300000 975000 300000 1012500
600000 1075000 600000 1200000
800000 1200000 800000 1325000
>; >;
clock-latency = <300000>; /* From legacy driver */ clock-latency = <300000>; /* From legacy driver */
}; };
......
...@@ -223,6 +223,15 @@ mcbsp2_pins: pinmux_mcbsp2_pins { ...@@ -223,6 +223,15 @@ mcbsp2_pins: pinmux_mcbsp2_pins {
>; >;
}; };
mcspi1_pins: pinmux_mcspi1_pins {
pinctrl-single,pins = <
0xf2 0x100 /* mcspi1_clk.mcspi1_clk INPUT | MODE0 */
0xf4 0x100 /* mcspi1_somi.mcspi1_somi INPUT | MODE0 */
0xf6 0x100 /* mcspi1_simo.mcspi1_simo INPUT | MODE0 */
0xf8 0x100 /* mcspi1_cs0.mcspi1_cs0 INPUT | MODE0*/
>;
};
dss_hdmi_pins: pinmux_dss_hdmi_pins { dss_hdmi_pins: pinmux_dss_hdmi_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
0x5a 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */ 0x5a 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
...@@ -358,12 +367,15 @@ hmc5843@1e { ...@@ -358,12 +367,15 @@ hmc5843@1e {
}; };
&mcspi1 { &mcspi1 {
pinctrl-names = "default";
pinctrl-0 = <&mcspi1_pins>;
eth@0 { eth@0 {
compatible = "ks8851"; compatible = "ks8851";
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <2>; /* gpio line 34 */ interrupts = <2 8>; /* gpio line 34, low triggered */
vdd-supply = <&vdd_eth>; vdd-supply = <&vdd_eth>;
}; };
}; };
......
...@@ -68,7 +68,7 @@ eth@0 { ...@@ -68,7 +68,7 @@ eth@0 {
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <11>; /* gpio line 171 */ interrupts = <11 8>; /* gpio line 171, low triggered */
vdd-supply = <&vdd_eth>; vdd-supply = <&vdd_eth>;
}; };
}; };
......
...@@ -15,9 +15,9 @@ cpus { ...@@ -15,9 +15,9 @@ cpus {
cpu@0 { cpu@0 {
operating-points = < operating-points = <
/* kHz uV */ /* kHz uV */
350000 975000 350000 1025000
700000 1075000 700000 1200000
920000 1200000 920000 1313000
>; >;
clock-latency = <300000>; /* From legacy driver */ clock-latency = <300000>; /* From legacy driver */
}; };
......
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