[PATCH linux dev-4.10 3/3] dts: aspeed: witherspoon: Add FSI devices
Joel Stanley
joel at jms.id.au
Mon Jun 5 16:29:40 AEST 2017
On Sat, May 13, 2017 at 5:08 AM, Eddie James <eajames at linux.vnet.ibm.com> wrote:
> From: "Edward A. James" <eajames at us.ibm.com>
>
> Signed-off-by: Edward A. James <eajames at us.ibm.com>
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 46 ++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index f20aaf4..4138c93 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -65,6 +65,8 @@
>
> gpio-fsi {
> compatible = "fsi-master-gpio", "fsi-master";
> + #address-cells = <2>;
> + #size-cells = <0>;
>
> status = "okay";
>
> @@ -73,6 +75,50 @@
> mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
> enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
> trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
> +
> + cfam at 0,0 {
> + reg = <0 0>;
> + #address-cells = <1>;
> + #size-cells = <1>;
Since this snippet will be shared by all power9 machines, I suggest we
put it in a dtsi file that is included by them all.
I will resend with my proposal.
Cheers,
Joel
> +
> + sbefifo at 2400 {
> + compatible = "ibm,p9-sbefifo";
> + reg = <0x2400 0x400>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + occ at 1 {
> + compatible = "ibm,p9-occ";
> + reg = <1>;
> + };
> + };
> +
> + hub at 3400 {
> + compatible = "fsi-master-hub";
> + reg = <0x3400 0x400>;
> + #address-cells = <2>;
> + #size-cells = <0>;
> +
> + cfam at 1,0 {
> + reg = <1 0>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + sbefifo at 2400 {
> + compatible = "ibm,p9-sbefifo";
> + reg = <0x2400 0x400>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + occ at 2 {
> + compatible =
> + "ibm,p9-occ";
> + reg = <2>;
> + };
> + };
> + };
> + };
> + };
> };
>
> iio-hwmon {
> --
> 1.8.3.1
>
More information about the openbmc
mailing list