|
404 | 404 | interrupts = <AIC_IRQ 432 IRQ_TYPE_LEVEL_HIGH>; |
405 | 405 | }; |
406 | 406 |
|
| 407 | + nub_spmi: spmi@2e4714000 { |
| 408 | + compatible = "apple,t8122-spmi", "apple,t8103-spmi"; |
| 409 | + reg = <0x2 0xe4714000 0x0 0x100>; |
| 410 | + #address-cells = <2>; |
| 411 | + #size-cells = <0>; |
| 412 | + |
| 413 | + pmic1: pmic@e { |
| 414 | + compatible = "apple,stowe-pmic", "apple,spmi-nvmem"; |
| 415 | + reg = <0xe SPMI_USID>; |
| 416 | + |
| 417 | + nvmem-layout { |
| 418 | + compatible = "fixed-layout"; |
| 419 | + #address-cells = <1>; |
| 420 | + #size-cells = <1>; |
| 421 | + |
| 422 | + fault_shadow: fault-shadow@867b { |
| 423 | + reg = <0x867b 0x10>; |
| 424 | + }; |
| 425 | + |
| 426 | + socd: socd@8b00 { |
| 427 | + reg = <0x8b00 0x400>; |
| 428 | + }; |
| 429 | + |
| 430 | + boot_stage: boot-stage@f701 { |
| 431 | + reg = <0xf701 0x1>; |
| 432 | + }; |
| 433 | + |
| 434 | + boot_error_count: boot-error-count@f702,0 { |
| 435 | + reg = <0xf702 0x1>; |
| 436 | + bits = <0 4>; |
| 437 | + }; |
| 438 | + |
| 439 | + panic_count: panic-count@f702,4 { |
| 440 | + reg = <0xf702 0x1>; |
| 441 | + bits = <4 4>; |
| 442 | + }; |
| 443 | + |
| 444 | + boot_error_stage: boot-error-stage@f703 { |
| 445 | + reg = <0xf703 0x1>; |
| 446 | + }; |
| 447 | + |
| 448 | + shutdown_flag: shutdown-flag@f70f,3 { |
| 449 | + reg = <0xf70f 0x1>; |
| 450 | + bits = <3 1>; |
| 451 | + }; |
| 452 | + |
| 453 | + pm_setting: pm-setting@f801 { |
| 454 | + reg = <0xf801 0x1>; |
| 455 | + }; |
| 456 | + |
| 457 | + rtc_offset: rtc-offset@f900 { |
| 458 | + reg = <0xf900 0x6>; |
| 459 | + }; |
| 460 | + }; |
| 461 | + }; |
| 462 | + }; |
| 463 | + |
407 | 464 | smc_mbox: mbox@2ec408000 { |
408 | 465 | compatible = "apple,t8122-asc-mailbox", "apple,asc-mailbox-v4"; |
409 | 466 | reg = <0x2 0xec408000 0x0 0x4000>; |
|
429 | 486 | gpio-controller; |
430 | 487 | #gpio-cells = <2>; |
431 | 488 | }; |
| 489 | + |
| 490 | + smc_reboot: reboot { |
| 491 | + compatible = "apple,smc-reboot"; |
| 492 | + nvmem-cells = <&shutdown_flag>, <&boot_stage>, |
| 493 | + <&boot_error_count>, <&panic_count>; |
| 494 | + nvmem-cell-names = "shutdown_flag", "boot_stage", |
| 495 | + "boot_error_count", "panic_count"; |
| 496 | + }; |
| 497 | + |
| 498 | + rtc { |
| 499 | + compatible = "apple,smc-rtc"; |
| 500 | + nvmem-cells = <&rtc_offset>; |
| 501 | + nvmem-cell-names = "rtc_offset"; |
| 502 | + }; |
432 | 503 | }; |
433 | 504 |
|
434 | 505 | pinctrl_smc: pinctrl@2ec820000 { |
|
0 commit comments