Commit a81f0508 authored by Simon Horman's avatar Simon Horman

ARM: shmobile: gose: Configure PFC in DT

Configure PFC for the already enabled scif and ethernet devices
in the device tree for the gose board.

Based on similar work for the koelsch board by Laurent Pinchart and
Sergei Shtylyov.
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent c26455c7
...@@ -37,7 +37,32 @@ &extal_clk { ...@@ -37,7 +37,32 @@ &extal_clk {
clock-frequency = <20000000>; clock-frequency = <20000000>;
}; };
&pfc {
scif0_pins: serial0 {
renesas,groups = "scif0_data_d";
renesas,function = "scif0";
};
scif1_pins: serial1 {
renesas,groups = "scif1_data_d";
renesas,function = "scif1";
};
ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth";
};
phy1_pins: phy1 {
renesas,groups = "intc_irq0";
renesas,function = "intc";
};
};
&ether { &ether {
pinctrl-0 = <&ether_pins &phy1_pins>;
pinctrl-names = "default";
phy-handle = <&phy1>; phy-handle = <&phy1>;
renesas,ether-link-active-low; renesas,ether-link-active-low;
status = "okay"; status = "okay";
...@@ -55,9 +80,15 @@ &cmt0 { ...@@ -55,9 +80,15 @@ &cmt0 {
}; };
&scif0 { &scif0 {
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";
status = "okay"; status = "okay";
}; };
&scif1 { &scif1 {
pinctrl-0 = <&scif1_pins>;
pinctrl-names = "default";
status = "okay"; status = "okay";
}; };
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