1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring 3*724ba675SRob Herring#include <dt-bindings/clock/maxim,max9485.h> 4*724ba675SRob Herring 5*724ba675SRob Herring/ { 6*724ba675SRob Herring xo_27mhz: oscillator-27mhz { 7*724ba675SRob Herring compatible = "fixed-clock"; 8*724ba675SRob Herring #clock-cells = <0>; 9*724ba675SRob Herring clock-frequency = <27000000>; 10*724ba675SRob Herring clock-accuracy = <100>; 11*724ba675SRob Herring }; 12*724ba675SRob Herring 13*724ba675SRob Herring sound { 14*724ba675SRob Herring compatible = "simple-audio-card"; 15*724ba675SRob Herring simple-audio-card,name = "Raumfeld Speaker"; 16*724ba675SRob Herring #address-cells = <1>; 17*724ba675SRob Herring #size-cells = <0>; 18*724ba675SRob Herring 19*724ba675SRob Herring simple-audio-card,dai-link@0 { 20*724ba675SRob Herring reg = <0>; 21*724ba675SRob Herring format = "i2s"; 22*724ba675SRob Herring bitclock-master = <&dailink_master_analog>; 23*724ba675SRob Herring frame-master = <&dailink_master_analog>; 24*724ba675SRob Herring mclk-fs = <256>; 25*724ba675SRob Herring 26*724ba675SRob Herring dailink_master_analog: cpu { 27*724ba675SRob Herring sound-dai = <&ssp_dai0>; 28*724ba675SRob Herring }; 29*724ba675SRob Herring 30*724ba675SRob Herring codec { 31*724ba675SRob Herring sound-dai = <&cs4270>; 32*724ba675SRob Herring }; 33*724ba675SRob Herring }; 34*724ba675SRob Herring }; 35*724ba675SRob Herring}; 36*724ba675SRob Herring 37*724ba675SRob Herring&ssp_dai0 { 38*724ba675SRob Herring clocks = <&max9485 MAX9485_CLKOUT1>; 39*724ba675SRob Herring}; 40*724ba675SRob Herring 41*724ba675SRob Herring&ssp_dai1 { 42*724ba675SRob Herring clocks = <&max9485 MAX9485_CLKOUT1>; 43*724ba675SRob Herring}; 44*724ba675SRob Herring 45*724ba675SRob Herring&pxai2c1 { 46*724ba675SRob Herring cs4270: codec@48 { 47*724ba675SRob Herring compatible = "cirrus,cs4270"; 48*724ba675SRob Herring pinctrl-names = "default"; 49*724ba675SRob Herring pinctrl-0 = <&cs4270_pins>; 50*724ba675SRob Herring reg = <0x48>; 51*724ba675SRob Herring va-supply = <®_va_5v0>; 52*724ba675SRob Herring vd-supply = <®_3v3>; 53*724ba675SRob Herring vlc-supply = <®_3v3>; 54*724ba675SRob Herring reset-gpios = <&gpio 120 GPIO_ACTIVE_HIGH>; 55*724ba675SRob Herring #sound-dai-cells = <0>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring max9485: clock-generator@63 { 59*724ba675SRob Herring compatible = "maxim,max9485"; 60*724ba675SRob Herring pinctrl-names = "default"; 61*724ba675SRob Herring pinctrl-0 = <&max9485_pins>; 62*724ba675SRob Herring reg = <0x63>; 63*724ba675SRob Herring vdd-supply = <®_3v3>; 64*724ba675SRob Herring clock-names = "xclk"; 65*724ba675SRob Herring clocks = <&xo_27mhz>; 66*724ba675SRob Herring reset-gpios = <&gpio 111 GPIO_ACTIVE_HIGH>; 67*724ba675SRob Herring #clock-cells = <1>; 68*724ba675SRob Herring }; 69*724ba675SRob Herring}; 70*724ba675SRob Herring 71*724ba675SRob Herring&pinctrl { 72*724ba675SRob Herring cs4270_pins: cs4270-pins { 73*724ba675SRob Herring pinctrl-single,pins = < 74*724ba675SRob Herring MFP_PIN_PXA300(120) MFP_AF0 /* RESET */ 75*724ba675SRob Herring >; 76*724ba675SRob Herring pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW); 77*724ba675SRob Herring }; 78*724ba675SRob Herring 79*724ba675SRob Herring max9485_pins: max9485-pins { 80*724ba675SRob Herring pinctrl-single,pins = < 81*724ba675SRob Herring MFP_PIN_PXA300(111) MFP_AF0 /* RESET */ 82*724ba675SRob Herring >; 83*724ba675SRob Herring pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW); 84*724ba675SRob Herring }; 85*724ba675SRob Herring}; 86