Skip to content

Commit 66d8e7a

Browse files
vishwabmcshenki
authored andcommitted
ARM: dts: aspeed: everest: Add pcie slot indicator leds
These are pcie slot indicator leds driven by PCA9552. Signed-off-by: Vishwanatha Subbanna <[email protected]> Signed-off-by: Joel Stanley <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 793de4d commit 66d8e7a

File tree

1 file changed

+123
-0
lines changed

1 file changed

+123
-0
lines changed

arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,129 @@
721721
};
722722
};
723723
};
724+
725+
pca_pcie_slot: pca9552@65 {
726+
compatible = "nxp,pca9552";
727+
reg = <0x65>;
728+
#address-cells = <1>;
729+
#size-cells = <0>;
730+
731+
gpio-controller;
732+
#gpio-cells = <2>;
733+
734+
gpio@0 {
735+
reg = <0>;
736+
type = <PCA955X_TYPE_GPIO>;
737+
};
738+
739+
led@1 {
740+
label = "pcieslot-c01";
741+
reg = <1>;
742+
retain-state-shutdown;
743+
default-state = "keep";
744+
type = <PCA955X_TYPE_LED>;
745+
};
746+
747+
led@2 {
748+
label = "pcieslot-c02";
749+
reg = <2>;
750+
retain-state-shutdown;
751+
default-state = "keep";
752+
type = <PCA955X_TYPE_LED>;
753+
};
754+
755+
led@3 {
756+
label = "pcieslot-c03";
757+
reg = <3>;
758+
retain-state-shutdown;
759+
default-state = "keep";
760+
type = <PCA955X_TYPE_LED>;
761+
};
762+
763+
led@4 {
764+
label = "pcieslot-c04";
765+
reg = <4>;
766+
retain-state-shutdown;
767+
default-state = "keep";
768+
type = <PCA955X_TYPE_LED>;
769+
};
770+
771+
led@5 {
772+
label = "pcieslot-c05";
773+
reg = <5>;
774+
retain-state-shutdown;
775+
default-state = "keep";
776+
type = <PCA955X_TYPE_LED>;
777+
};
778+
779+
led@6 {
780+
label = "pcieslot-c06";
781+
reg = <6>;
782+
retain-state-shutdown;
783+
default-state = "keep";
784+
type = <PCA955X_TYPE_LED>;
785+
};
786+
787+
led@7 {
788+
label = "pcieslot-c07";
789+
reg = <7>;
790+
retain-state-shutdown;
791+
default-state = "keep";
792+
type = <PCA955X_TYPE_LED>;
793+
};
794+
795+
led@8 {
796+
label = "pcieslot-c08";
797+
reg = <8>;
798+
retain-state-shutdown;
799+
default-state = "keep";
800+
type = <PCA955X_TYPE_LED>;
801+
};
802+
803+
led@9 {
804+
label = "pcieslot-c09";
805+
reg = <9>;
806+
retain-state-shutdown;
807+
default-state = "keep";
808+
type = <PCA955X_TYPE_LED>;
809+
};
810+
811+
led@10 {
812+
label = "pcieslot-c10";
813+
reg = <10>;
814+
retain-state-shutdown;
815+
default-state = "keep";
816+
type = <PCA955X_TYPE_LED>;
817+
};
818+
819+
led@11 {
820+
label = "pcieslot-c11";
821+
reg = <11>;
822+
retain-state-shutdown;
823+
default-state = "keep";
824+
type = <PCA955X_TYPE_LED>;
825+
};
826+
827+
gpio@12 {
828+
reg = <12>;
829+
type = <PCA955X_TYPE_GPIO>;
830+
};
831+
832+
gpio@13 {
833+
reg = <13>;
834+
type = <PCA955X_TYPE_GPIO>;
835+
};
836+
837+
gpio@14 {
838+
reg = <14>;
839+
type = <PCA955X_TYPE_GPIO>;
840+
};
841+
842+
gpio@15 {
843+
reg = <15>;
844+
type = <PCA955X_TYPE_GPIO>;
845+
};
846+
};
724847
};
725848

726849
&i2c7 {

0 commit comments

Comments
 (0)