-
Notifications
You must be signed in to change notification settings - Fork 894
Kernel 6.12 sc59*-som-ezlite support #2846
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
Merged
UtsavAgarwalADI
merged 3 commits into
adsp-main-6.12
from
adsp-main-6.12-sc59x-som-ezlite
Jul 17, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
/* | ||
* Copyright (c) 2021 Analog Devices Incorporated | ||
* Author: Nathan Barrett-Morrison <nathan.morrison@timesys.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "sc598-som.dtsi" | ||
|
||
/ { | ||
model = "ADI 64-bit SC598 SOM EZ Lite"; | ||
compatible = "adi,sc598-som-ezlite", "adi,sc59x-64"; | ||
|
||
clocks { | ||
compatible = "simple-bus"; | ||
mclk: mclk { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <24576000>; | ||
clock-output-names = "mclk"; | ||
}; | ||
}; | ||
|
||
scb { | ||
sound { | ||
compatible = "adi,sc5xx-asoc-card"; | ||
adi,cpu-dai = <&i2s0>; | ||
adi,codec = <&adau1372>; | ||
}; | ||
}; | ||
}; | ||
|
||
&i2c2 { | ||
gpio_expander: adp5588@30 { | ||
compatible = "adi,adp5588-gpio"; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
reg = <0x30>; | ||
status = "okay"; | ||
|
||
usb-spi0 { | ||
gpio-hog; | ||
gpios = <8 GPIO_ACTIVE_HIGH>; | ||
output-high; | ||
line-name = "usb_spi0_en"; | ||
}; | ||
|
||
usb-spi1 { | ||
gpio-hog; | ||
gpios = <9 GPIO_ACTIVE_HIGH>; | ||
output-high; | ||
line-name = "usb_spi1_en"; | ||
}; | ||
|
||
usb-qspi-en { | ||
gpio-hog; | ||
gpios = <10 GPIO_ACTIVE_HIGH>; | ||
output-high; | ||
line-name = "usb_qspi_en"; | ||
}; | ||
|
||
usb-qspi-reset { | ||
gpio-hog; | ||
gpios = <11 GPIO_ACTIVE_HIGH>; | ||
output-low; | ||
line-name = "usb_qspi_reset"; | ||
}; | ||
|
||
eth0-reset { | ||
gpio-hog; | ||
gpios = <12 GPIO_ACTIVE_HIGH>; | ||
output-high; | ||
line-name = "~eth0-reset"; | ||
}; | ||
|
||
adau1372-pwrdwn { | ||
gpio-hog; | ||
gpios = <13 GPIO_ACTIVE_HIGH>; | ||
output-high; | ||
line-name = "adau1372_pwrdwn"; | ||
}; | ||
|
||
led1 { | ||
gpio-hog; | ||
gpios = <15 GPIO_ACTIVE_HIGH>; | ||
output-low; | ||
line-name = "led1-en"; | ||
}; | ||
|
||
led2 { | ||
gpio-hog; | ||
gpios = <16 GPIO_ACTIVE_HIGH>; | ||
output-low; | ||
line-name = "led2-en"; | ||
}; | ||
|
||
led3 { | ||
gpio-hog; | ||
gpios = <17 GPIO_ACTIVE_HIGH>; | ||
output-low; | ||
line-name = "led3-en"; | ||
}; | ||
}; | ||
|
||
adau1372: adau1372@0x3c { | ||
compatible = "adi,adau1372"; | ||
reg = <0x3c>; | ||
clock-names = "mclk"; | ||
clocks = <&mclk>; | ||
}; | ||
}; | ||
|
||
&emac0 { | ||
snps,reset-active-low; | ||
snps,reset-delays-us = <0 200 500>; | ||
phy-handle = <&adin1300>; | ||
phy-mode = "rgmii-id"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <ð0_default>; | ||
status = "okay"; | ||
snps,mtl-rx-config = <&emac0rxconfig>; | ||
snps,mtl-tx-config = <&emac0txconfig>; | ||
|
||
emac0txconfig: tx-config { | ||
snps,tx-queues-to-use = <3>; | ||
|
||
queue0 { | ||
snps,dcb-algorithm; | ||
}; | ||
|
||
queue1 { | ||
snps,dcb-algorithm; | ||
}; | ||
|
||
queue2 { | ||
snps,dcb-algorithm; | ||
}; | ||
}; | ||
|
||
emac0rxconfig: rx-config { | ||
snps,rx-queues-to-use = <1>; | ||
|
||
queue0 { | ||
snps,dcb-algorithm; | ||
}; | ||
|
||
queue1 { | ||
snps,dcb-algorithm; | ||
}; | ||
|
||
queue2 { | ||
snps,dcb-algorithm; | ||
}; | ||
}; | ||
|
||
mdio0 { | ||
compatible = "snps,dwmac-mdio"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
adin1300: ethernet-phy@0 { | ||
reg = <0>; | ||
}; | ||
}; | ||
|
||
}; | ||
|
||
&emac1 { | ||
status = "disabled"; | ||
}; | ||
|
||
&sru_ctrl_dai0 { | ||
status = "okay"; | ||
|
||
sru_dai0: sru_dai0_mux { | ||
route { | ||
sru-routing = | ||
/* 1362 TX LRCLK */ | ||
<DAI0_LOW_F DAI0_PBEN01_I>, /* set DAI0_PIN01 to input */ | ||
<DAI0_PB01_O_ABCDE SPT0_AFS_I>, /* route DAI0_PIN01 to SPT0_AFS */ | ||
|
||
/* 1363 TX BCLK */ | ||
<DAI0_LOW_F DAI0_PBEN02_I>, /* set DAI0_PIN02 to input */ | ||
<DAI0_PB02_O_ABCDE SPT0_ACLK_I>, /* route DAI0_PIN02 to SPT0_ACLK */ | ||
|
||
/* 1363 TX DAC_SDATA/MP0 */ | ||
<DAI0_HIGH_F DAI0_PBEN03_I>, /* set DAI0_PIN03 to output */ | ||
<SPT0_AD0_O_BD DAI0_PB03_I>, /* route SPT0_AD0 to DAI0_PIN03 */ | ||
|
||
/* 1362 RX LRCLK */ | ||
<DAI0_LOW_F DAI0_PBEN01_I>, /* set DAI0_PIN01 to input */ | ||
<DAI0_PB01_O_ABCDE SPT0_BFS_I>, /* route DAI0_PIN01 to SPT0_BFS */ | ||
|
||
/* 1363 RX BCLK */ | ||
<DAI0_LOW_F DAI0_PBEN02_I>, /* set DAI0_PIN02 to input */ | ||
<DAI0_PB02_O_ABCDE SPT0_BCLK_I>, /* route DAI0_PIN02 to SPT0_BCLK */ | ||
|
||
/* 1363 RX ADC_SDATA0/MP1 */ | ||
<DAI0_LOW_F DAI0_PBEN04_I>, /* set DAI0_PIN04 to input */ | ||
<DAI0_PB04_O_ABCDE SPT0_BD0_I>, /* route DAI0_PIN04 to SPT0_BD0 */ | ||
|
||
/* 1363 RX ADC_SDATA1/MP6 */ | ||
<DAI0_LOW_F DAI0_PBEN05_I>, /* set DAI0_PIN05 to input */ | ||
<DAI0_PB05_O_ABCDE SPT0_BD1_I>; /* route DAI0_PIN05 to SPT0_BD1 */ | ||
}; | ||
}; | ||
}; | ||
|
||
&i2s0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sru_dai0>; | ||
status = "okay"; | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.