1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the Kontron SMARC-sAL28 board on a SMARC Eval 2.0
6 * Copyright (C) 2019 Michael Walle <michael@walle.cc>
11 #include "fsl-ls1028a-kontron-sl28.dts"
14 model = "Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier";
15 compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3",
16 "kontron,sl28", "fsl,ls1028a";
19 compatible = "pwm-fan";
20 cooling-min-state = <0>;
21 cooling-max-state = <3>;
23 pwms = <&sl28cpld_pwm0 0 4000000>;
24 cooling-levels = <1 128 192 255>;
30 compatible = "simple-audio-card";
31 simple-audio-card,widgets =
32 "Headphone", "Headphone Jack",
33 "Line", "Line Out Jack",
34 "Microphone", "Microphone Jack",
35 "Line", "Line In Jack";
36 simple-audio-card,routing =
37 "Line Out Jack", "LINEOUTR",
38 "Line Out Jack", "LINEOUTL",
39 "Headphone Jack", "HPOUTR",
40 "Headphone Jack", "HPOUTL",
41 "IN1L", "Line In Jack",
42 "IN1R", "Line In Jack",
43 "Microphone Jack", "MICBIAS",
44 "IN2L", "Microphone Jack",
45 "IN2R", "Microphone Jack";
46 simple-audio-card,mclk-fs = <256>;
48 simple-audio-card,dai-link@0 {
50 bitclock-master = <&dailink0_master>;
51 frame-master = <&dailink0_master>;
58 dailink0_master: codec {
59 sound-dai = <&wm8904>;
63 simple-audio-card,dai-link@1 {
65 bitclock-master = <&dailink1_master>;
66 frame-master = <&dailink1_master>;
73 dailink1_master: codec {
74 sound-dai = <&wm8904>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <100000000>;
91 compatible = "atmel,24c64";
100 wm8904: audio-codec@1a {
101 #sound-dai-cells = <0>;
102 compatible = "wlf,wm8904";
105 clock-names = "mclk";
106 assigned-clocks = <&mclk>;
107 assigned-clock-rates = <1250000>;
120 mclk: clock-mclk@f130080 {
121 compatible = "fsl,vf610-sai-clock";
122 reg = <0x0 0xf130080 0x0 0x80>;
123 clocks = <&clockgen 4 1>;