Skip to content

Commit

Permalink
ARM: dts: aspeed: bletchley: add pca9536 node on each sled
Browse files Browse the repository at this point in the history
Add an ioexp node on each sled baseed on DVT schematic, address at 0x41.

P0: SLEDX_SWD_MUX
P1: SLEDX_XRES_SWD_N
P2: SLEDX_CLKREQ_N
P3: SLEDX_PCIE_PWR_EN

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220509151118.4899-6-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
Potin Lai authored and Joel Stanley committed May 19, 2022
1 parent 60280a2 commit 9495c6d
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@
reg = <0x4f>;
};

sled1_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED1_SWD_MUX", "SLED1_XRES_SWD_N",
"SLED1_CLKREQ_N", "SLED1_PCIE_PWR_EN";
};

sled1_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down Expand Up @@ -323,6 +334,17 @@
reg = <0x4f>;
};

sled2_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED2_SWD_MUX", "SLED2_XRES_SWD_N",
"SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN";
};

sled2_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down Expand Up @@ -393,6 +415,17 @@
reg = <0x4f>;
};

sled3_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED3_SWD_MUX", "SLED3_XRES_SWD_N",
"SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN";
};

sled3_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down Expand Up @@ -463,6 +496,17 @@
reg = <0x4f>;
};

sled4_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED4_SWD_MUX", "SLED4_XRES_SWD_N",
"SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN";
};

sled4_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down Expand Up @@ -533,6 +577,17 @@
reg = <0x4f>;
};

sled5_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED5_SWD_MUX", "SLED5_XRES_SWD_N",
"SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN";
};

sled5_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down Expand Up @@ -603,6 +658,17 @@
reg = <0x4f>;
};

sled6_ioexp41: pca9536@41 {
compatible = "nxp,pca9536";
reg = <0x41>;
gpio-controller;
#gpio-cells = <2>;

gpio-line-names =
"SLED6_SWD_MUX", "SLED6_XRES_SWD_N",
"SLED6_CLKREQ_N", "SLED6_PCIE_PWR_EN";
};

sled6_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
Expand Down

0 comments on commit 9495c6d

Please sign in to comment.