-
Notifications
You must be signed in to change notification settings - Fork 141
More devices for t603x/t8122 #512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: asahi-wip
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -229,6 +229,23 @@ | |
| clock-output-names = "clkref"; | ||
| }; | ||
|
|
||
| clk_200m: clock-200m { | ||
| compatible = "fixed-clock"; | ||
| #clock-cells = <0>; | ||
| clock-frequency = <200000000>; | ||
| clock-output-names = "clk_200m"; | ||
| }; | ||
|
|
||
| /* | ||
| * This is a fabulated representation of the input clock | ||
| * to NCO since we don't know the true clock tree. | ||
| */ | ||
| nco_clkref: clock-ref-nco { | ||
| compatible = "fixed-clock"; | ||
| #clock-cells = <0>; | ||
| clock-output-names = "nco_ref"; | ||
| }; | ||
|
|
||
| reserved-memory { | ||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
|
|
@@ -338,6 +355,68 @@ | |
| status = "disabled"; | ||
| }; | ||
|
|
||
| spi1: spi@289104000 { | ||
| compatible = "apple,t6030-spi", "apple,t8103-spi", "apple,spi"; | ||
| reg = <0x2 0x89104000 0x0 0x4000>; | ||
| interrupt-parent = <&aic>; | ||
| interrupts = <AIC_IRQ 875 IRQ_TYPE_LEVEL_HIGH>; | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| clocks = <&clk_200m>; | ||
| pinctrl-0 = <&spi1_pins>; | ||
| pinctrl-names = "default"; | ||
| power-domains = <&ps_spi1>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| sio_dart: iommu@289004000 { | ||
| compatible = "apple,t6031-dart", "apple,t8110-dart"; | ||
| reg = <0x2 0x89004000 0x0 0x4000>; | ||
| interrupt-parent = <&aic>; | ||
| interrupts = <AIC_IRQ 901 IRQ_TYPE_LEVEL_HIGH>; | ||
| #iommu-cells = <1>; | ||
| power-domains = <&ps_sio>; | ||
| //apple,dma-range = <0x100 0x0001c000 0x2ff 0xfffe4000>; | ||
| }; | ||
|
|
||
| admac: dma-controller@28b200000 { | ||
| compatible = "apple,t6030-admac", "apple,t8103-admac", "apple,admac"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same for |
||
| reg = <0x2 0x8b200000 0x0 0x34000>; | ||
| #dma-cells = <1>; | ||
| dma-channels = <24>; | ||
| interrupts-extended = <0>, | ||
| <&aic AIC_IRQ 888 IRQ_TYPE_LEVEL_HIGH>, | ||
| <0>, | ||
| <0>; | ||
| iommus = <&sio_dart 2>; | ||
| power-domains = <&ps_sio_adma>; | ||
| resets = <&ps_audio_p>; | ||
| }; | ||
|
|
||
| mca: mca@28b400000 { | ||
| compatible = "apple,t6030-mca", "apple,t8103-mca", "apple,mca"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and |
||
| reg = <0x2 0x8b400000 0x0 0x10000>, | ||
| <0x2 0x8b300000 0x0 0x20000>; | ||
| clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>; | ||
| dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>, | ||
| <&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>, | ||
| <&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>, | ||
| <&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>; | ||
| dma-names = "tx0a", "rx0a", "tx0b", "rx0b", | ||
| "tx1a", "rx1a", "tx1b", "rx1b", | ||
| "tx2a", "rx2a", "tx2b", "rx2b", | ||
| "tx3a", "rx3a", "tx3b", "rx3b"; | ||
| interrupt-parent = <&aic>; | ||
| interrupts = <AIC_IRQ 881 IRQ_TYPE_LEVEL_HIGH>, | ||
| <AIC_IRQ 882 IRQ_TYPE_LEVEL_HIGH>, | ||
| <AIC_IRQ 883 IRQ_TYPE_LEVEL_HIGH>, | ||
| <AIC_IRQ 884 IRQ_TYPE_LEVEL_HIGH>; | ||
| power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>, | ||
| <&ps_mca2>, <&ps_mca3>; | ||
| resets = <&ps_audio_p>; | ||
| #sound-dai-cells = <1>; | ||
| }; | ||
|
|
||
| pmgr_gfx: power-management@290e80000 { | ||
| compatible = "apple,t6030-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; | ||
| #address-cells = <1>; | ||
|
|
@@ -416,6 +495,13 @@ | |
| <APPLE_PINMUX(50, 1)>; | ||
| }; | ||
|
|
||
| spi1_pins: spi1-pins { | ||
| pinmux = <APPLE_PINMUX(24, 1)>, /* SDI */ | ||
| <APPLE_PINMUX(25, 1)>, /* SDO */ | ||
| <APPLE_PINMUX(26, 1)>, /* SCK */ | ||
| <APPLE_PINMUX(27, 1)>; /* CS */ | ||
| }; | ||
|
|
||
| pcie_pins: pcie-pins { | ||
| // clkreq pins | ||
| pinmux = <APPLE_PINMUX(163, 1)>, | ||
|
|
@@ -434,6 +520,13 @@ | |
| /* child nodes are added in t6030-pmgr.dtsi */ | ||
| }; | ||
|
|
||
| nco: clock-controller@350044000 { | ||
| compatible = "apple,t6030-nco", "apple,t8103-nco", "apple,nco"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and |
||
| reg = <0x3 0x50044000 0x0 0x14000>; | ||
| clocks = <&nco_clkref>; | ||
| #clock-cells = <1>; | ||
| }; | ||
|
|
||
| aic: interrupt-controller@351000000 { | ||
| compatible = "apple,t6030-aic3", "apple,t8122-aic3"; | ||
| #interrupt-cells = <3>; | ||
|
|
@@ -573,6 +666,10 @@ | |
| #gpio-cells = <2>; | ||
| }; | ||
|
|
||
| smc_hwmon: hwmon { | ||
| compatible = "apple,smc-hwmon"; | ||
| }; | ||
|
|
||
| smc_reboot: reboot { | ||
| compatible = "apple,smc-reboot"; | ||
| nvmem-cells = <&shutdown_flag>, <&boot_stage>, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't carry
"apple,spi"as compatible