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>
12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
13 #include "fsl-ls1028a-kontron-sl28.dts"
16 model = "Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier";
17 compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3",
18 "kontron,sl28", "fsl,ls1028a";
21 compatible = "pwm-fan";
22 cooling-min-state = <0>;
23 cooling-max-state = <3>;
25 pwms = <&sl28cpld_pwm0 0 4000000>;
26 cooling-levels = <1 128 192 255>;
32 compatible = "simple-audio-card";
33 simple-audio-card,widgets =
34 "Headphone", "Headphone Jack",
35 "Line", "Line Out Jack",
36 "Microphone", "Microphone Jack",
37 "Line", "Line In Jack";
38 simple-audio-card,routing =
39 "Line Out Jack", "LINEOUTR",
40 "Line Out Jack", "LINEOUTL",
41 "Headphone Jack", "HPOUTR",
42 "Headphone Jack", "HPOUTL",
43 "IN1L", "Line In Jack",
44 "IN1R", "Line In Jack",
45 "Microphone Jack", "MICBIAS",
46 "IN2L", "Microphone Jack",
47 "IN2R", "Microphone Jack";
48 simple-audio-card,mclk-fs = <256>;
50 simple-audio-card,dai-link@0 {
52 bitclock-master = <&dailink0_master>;
53 frame-master = <&dailink0_master>;
60 dailink0_master: codec {
61 sound-dai = <&wm8904>;
65 simple-audio-card,dai-link@1 {
67 bitclock-master = <&dailink1_master>;
68 frame-master = <&dailink1_master>;
75 dailink1_master: codec {
76 sound-dai = <&wm8904>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <100000000>;
93 compatible = "atmel,24c64";
102 wm8904: audio-codec@1a {
103 #sound-dai-cells = <0>;
104 compatible = "wlf,wm8904";
107 clock-names = "mclk";
108 assigned-clocks = <&mclk>;
109 assigned-clock-rates = <1250000>;
122 mclk: clock-mclk@f130080 {
123 compatible = "fsl,vf610-sai-clock";
124 reg = <0x0 0xf130080 0x0 0x80>;
125 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
126 QORIQ_CLK_PLL_DIV(2)>;