Skip to content

Commit 010da3d

Browse files
Santosh Puranikshenki
authored andcommitted
ARM: dts: aspeed: Everest: Fix cable card PCA chips
Correct two PCA chips which were placed on the wrong I2C bus and address. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
1 parent 8dec60e commit 010da3d

1 file changed

Lines changed: 83 additions & 85 deletions

File tree

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

Lines changed: 83 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,47 @@
353353

354354
&i2c1 {
355355
status = "okay";
356+
};
357+
358+
&i2c2 {
359+
status = "okay";
360+
};
356361

357-
pca2: pca9552@61 {
362+
&i2c3 {
363+
status = "okay";
364+
365+
eeprom@54 {
366+
compatible = "atmel,24c128";
367+
reg = <0x54>;
368+
};
369+
370+
power-supply@68 {
371+
compatible = "ibm,cffps";
372+
reg = <0x68>;
373+
};
374+
375+
power-supply@69 {
376+
compatible = "ibm,cffps";
377+
reg = <0x69>;
378+
};
379+
380+
power-supply@6a {
381+
compatible = "ibm,cffps";
382+
reg = <0x6a>;
383+
};
384+
385+
power-supply@6b {
386+
compatible = "ibm,cffps";
387+
reg = <0x6b>;
388+
};
389+
};
390+
391+
&i2c4 {
392+
status = "okay";
393+
394+
pca2: pca9552@65 {
358395
compatible = "nxp,pca9552";
359-
reg = <0x61>;
396+
reg = <0x65>;
360397
#address-cells = <1>;
361398
#size-cells = <0>;
362399

@@ -424,12 +461,54 @@
424461
reg = <9>;
425462
type = <PCA955X_TYPE_GPIO>;
426463
};
464+
};
427465

466+
i2c-switch@70 {
467+
compatible = "nxp,pca9546";
468+
reg = <0x70>;
469+
#address-cells = <1>;
470+
#size-cells = <0>;
471+
status = "okay";
472+
i2c-mux-idle-disconnect;
473+
474+
i2c4mux0chn0: i2c@0 {
475+
#address-cells = <1>;
476+
#size-cells = <0>;
477+
reg = <0>;
478+
eeprom@52 {
479+
compatible = "atmel,24c64";
480+
reg = <0x52>;
481+
};
482+
};
483+
484+
i2c4mux0chn1: i2c@1 {
485+
#address-cells = <1>;
486+
#size-cells = <0>;
487+
reg = <1>;
488+
eeprom@50 {
489+
compatible = "atmel,24c64";
490+
reg = <0x50>;
491+
};
492+
};
493+
494+
i2c4mux0chn2: i2c@2 {
495+
#address-cells = <1>;
496+
#size-cells = <0>;
497+
reg = <2>;
498+
eeprom@51 {
499+
compatible = "atmel,24c64";
500+
reg = <0x51>;
501+
};
502+
};
428503
};
504+
};
429505

430-
pca3: pca9552@62 {
506+
&i2c5 {
507+
status = "okay";
508+
509+
pca3: pca9552@66 {
431510
compatible = "nxp,pca9552";
432-
reg = <0x62>;
511+
reg = <0x66>;
433512
#address-cells = <1>;
434513
#size-cells = <0>;
435514

@@ -512,87 +591,6 @@
512591

513592
};
514593

515-
};
516-
517-
&i2c2 {
518-
status = "okay";
519-
};
520-
521-
&i2c3 {
522-
status = "okay";
523-
524-
eeprom@54 {
525-
compatible = "atmel,24c128";
526-
reg = <0x54>;
527-
};
528-
529-
power-supply@68 {
530-
compatible = "ibm,cffps";
531-
reg = <0x68>;
532-
};
533-
534-
power-supply@69 {
535-
compatible = "ibm,cffps";
536-
reg = <0x69>;
537-
};
538-
539-
power-supply@6a {
540-
compatible = "ibm,cffps";
541-
reg = <0x6a>;
542-
};
543-
544-
power-supply@6b {
545-
compatible = "ibm,cffps";
546-
reg = <0x6b>;
547-
};
548-
};
549-
550-
&i2c4 {
551-
status = "okay";
552-
553-
i2c-switch@70 {
554-
compatible = "nxp,pca9546";
555-
reg = <0x70>;
556-
#address-cells = <1>;
557-
#size-cells = <0>;
558-
status = "okay";
559-
i2c-mux-idle-disconnect;
560-
561-
i2c4mux0chn0: i2c@0 {
562-
#address-cells = <1>;
563-
#size-cells = <0>;
564-
reg = <0>;
565-
eeprom@52 {
566-
compatible = "atmel,24c64";
567-
reg = <0x52>;
568-
};
569-
};
570-
571-
i2c4mux0chn1: i2c@1 {
572-
#address-cells = <1>;
573-
#size-cells = <0>;
574-
reg = <1>;
575-
eeprom@50 {
576-
compatible = "atmel,24c64";
577-
reg = <0x50>;
578-
};
579-
};
580-
581-
i2c4mux0chn2: i2c@2 {
582-
#address-cells = <1>;
583-
#size-cells = <0>;
584-
reg = <2>;
585-
eeprom@51 {
586-
compatible = "atmel,24c64";
587-
reg = <0x51>;
588-
};
589-
};
590-
};
591-
};
592-
593-
&i2c5 {
594-
status = "okay";
595-
596594
i2c-switch@70 {
597595
compatible = "nxp,pca9546";
598596
reg = <0x70>;

0 commit comments

Comments
 (0)