[PATCH linux dev-4.10] arm/dts: Add I2C master and ports to FSI cfam
Joel Stanley
joel at jms.id.au
Wed Jun 28 14:57:22 AEST 2017
On Tue, Jun 27, 2017 at 5:03 AM, Eddie James <eajames at linux.vnet.ibm.com> wrote:
> From: "Edward A. James" <eajames at us.ibm.com>
>
> FSI I2C master algorithm probes port devices based on dts.
Do you need all 28 ports enabled?
>
> Signed-off-by: Edward A. James <eajames at us.ibm.com>
> ---
> arch/arm/boot/dts/ibm-power9-cfam.dtsi | 134 +++++++++++++++++++++++++++++++++
> 1 file changed, 134 insertions(+)
>
> diff --git a/arch/arm/boot/dts/ibm-power9-cfam.dtsi b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
> index f29c6e3..a0b5c97 100644
> --- a/arch/arm/boot/dts/ibm-power9-cfam.dtsi
> +++ b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
> @@ -4,6 +4,73 @@
> #address-cells = <1>;
> #size-cells = <1>;
>
> + i2cm at 1800 {
> + compatible = "ibm,fsi-i2c-master";
> + reg = <0x1800 0x400>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port at 0 {
> + port = <0>;
> + };
> +
> + port at 1 {
> + port = <1>;
> + };
> +
> + port at 2 {
> + port = <2>;
> + };
> +
> + port at 3 {
> + port = <3>;
> + };
> +
> + port at 4 {
> + port = <4>;
> + };
> +
> + port at 5 {
> + port = <5>;
> + };
> +
> + port at 6 {
> + port = <6>;
> + };
> +
> + port at 7 {
> + port = <7>;
> + };
> +
> + port at 8 {
> + port = <8>;
> + };
> +
> + port at 9 {
> + port = <9>;
> + };
> +
> + port at 10 {
> + port = <10>;
> + };
> +
> + port at 11 {
> + port = <11>;
> + };
> +
> + port at 12 {
> + port = <12>;
> + };
> +
> + port at 13 {
> + port = <13>;
> + };
> +
> + port at 14 {
> + port = <14>;
> + };
> + };
> +
> sbefifo at 2400 {
> compatible = "ibm,p9-sbefifo";
> reg = <0x2400 0x400>;
> @@ -31,6 +98,73 @@
> #address-cells = <1>;
> #size-cells = <1>;
>
> + i2cm at 1800 {
> + compatible = "ibm,fsi-i2c-master";
> + reg = <0x1800 0x400>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port at 0 {
> + port = <0>;
> + };
> +
> + port at 1 {
> + port = <1>;
> + };
> +
> + port at 2 {
> + port = <2>;
> + };
> +
> + port at 3 {
> + port = <3>;
> + };
> +
> + port at 4 {
> + port = <4>;
> + };
> +
> + port at 5 {
> + port = <5>;
> + };
> +
> + port at 6 {
> + port = <6>;
> + };
> +
> + port at 7 {
> + port = <7>;
> + };
> +
> + port at 8 {
> + port = <8>;
> + };
> +
> + port at 9 {
> + port = <9>;
> + };
> +
> + port at 10 {
> + port = <10>;
> + };
> +
> + port at 11 {
> + port = <11>;
> + };
> +
> + port at 12 {
> + port = <12>;
> + };
> +
> + port at 13 {
> + port = <13>;
> + };
> +
> + port at 14 {
> + port = <14>;
> + };
> + };
> +
> sbefifo at 2400 {
> compatible = "ibm,p9-sbefifo";
> reg = <0x2400 0x400>;
> --
> 1.8.3.1
>
More information about the openbmc
mailing list