1809e0db5SManivannan Sadhasivam// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2809e0db5SManivannan Sadhasivam/* 3809e0db5SManivannan Sadhasivam * Device Tree file for Oxalis 4809e0db5SManivannan Sadhasivam * 5809e0db5SManivannan Sadhasivam * Copyright (c) 2019 Manivannan Sadhasivam 6809e0db5SManivannan Sadhasivam * 7809e0db5SManivannan Sadhasivam */ 8809e0db5SManivannan Sadhasivam 9809e0db5SManivannan Sadhasivam/dts-v1/; 10809e0db5SManivannan Sadhasivam 11809e0db5SManivannan Sadhasivam#include "fsl-ls1012a.dtsi" 12809e0db5SManivannan Sadhasivam 13809e0db5SManivannan Sadhasivam/ { 14809e0db5SManivannan Sadhasivam model = "Oxalis"; 15809e0db5SManivannan Sadhasivam compatible = "ebs-systart,oxalis", "fsl,ls1012a"; 16809e0db5SManivannan Sadhasivam 17809e0db5SManivannan Sadhasivam sys_mclk: clock-mclk { 18809e0db5SManivannan Sadhasivam compatible = "fixed-clock"; 19809e0db5SManivannan Sadhasivam #clock-cells = <0>; 20809e0db5SManivannan Sadhasivam clock-frequency = <25000000>; 21809e0db5SManivannan Sadhasivam }; 22809e0db5SManivannan Sadhasivam 23809e0db5SManivannan Sadhasivam reg_1p8v: regulator-1p8v { 24809e0db5SManivannan Sadhasivam compatible = "regulator-fixed"; 25809e0db5SManivannan Sadhasivam regulator-name = "1P8V"; 26809e0db5SManivannan Sadhasivam regulator-min-microvolt = <1800000>; 27809e0db5SManivannan Sadhasivam regulator-max-microvolt = <1800000>; 28809e0db5SManivannan Sadhasivam regulator-always-on; 29809e0db5SManivannan Sadhasivam }; 30809e0db5SManivannan Sadhasivam 31809e0db5SManivannan Sadhasivam sound { 32809e0db5SManivannan Sadhasivam compatible = "simple-audio-card"; 33809e0db5SManivannan Sadhasivam simple-audio-card,format = "i2s"; 34809e0db5SManivannan Sadhasivam simple-audio-card,widgets = 35809e0db5SManivannan Sadhasivam "Microphone", "Microphone Jack", 36809e0db5SManivannan Sadhasivam "Headphone", "Headphone Jack", 37809e0db5SManivannan Sadhasivam "Speaker", "Speaker Ext", 38809e0db5SManivannan Sadhasivam "Line", "Line In Jack"; 39809e0db5SManivannan Sadhasivam simple-audio-card,routing = 40809e0db5SManivannan Sadhasivam "MIC_IN", "Microphone Jack", 41809e0db5SManivannan Sadhasivam "Microphone Jack", "Mic Bias", 42809e0db5SManivannan Sadhasivam "LINE_IN", "Line In Jack", 43809e0db5SManivannan Sadhasivam "Headphone Jack", "HP_OUT", 44809e0db5SManivannan Sadhasivam "Speaker Ext", "LINE_OUT"; 45809e0db5SManivannan Sadhasivam 46809e0db5SManivannan Sadhasivam simple-audio-card,cpu { 47809e0db5SManivannan Sadhasivam sound-dai = <&sai2>; 48809e0db5SManivannan Sadhasivam frame-master; 49809e0db5SManivannan Sadhasivam bitclock-master; 50809e0db5SManivannan Sadhasivam }; 51809e0db5SManivannan Sadhasivam 52809e0db5SManivannan Sadhasivam simple-audio-card,codec { 53809e0db5SManivannan Sadhasivam sound-dai = <&codec>; 54809e0db5SManivannan Sadhasivam frame-master; 55809e0db5SManivannan Sadhasivam bitclock-master; 56809e0db5SManivannan Sadhasivam system-clock-frequency = <25000000>; 57809e0db5SManivannan Sadhasivam }; 58809e0db5SManivannan Sadhasivam }; 59809e0db5SManivannan Sadhasivam}; 60809e0db5SManivannan Sadhasivam 61809e0db5SManivannan Sadhasivam&duart0 { 62809e0db5SManivannan Sadhasivam status = "okay"; 63809e0db5SManivannan Sadhasivam}; 64809e0db5SManivannan Sadhasivam 65809e0db5SManivannan Sadhasivam&duart1 { 66809e0db5SManivannan Sadhasivam status = "okay"; 67809e0db5SManivannan Sadhasivam}; 68809e0db5SManivannan Sadhasivam 69809e0db5SManivannan Sadhasivam&esdhc1 { 70809e0db5SManivannan Sadhasivam status = "okay"; 71809e0db5SManivannan Sadhasivam}; 72809e0db5SManivannan Sadhasivam 73809e0db5SManivannan Sadhasivam&i2c0 { 74809e0db5SManivannan Sadhasivam status = "okay"; 75809e0db5SManivannan Sadhasivam 76809e0db5SManivannan Sadhasivam codec: audio-codec@a { 77809e0db5SManivannan Sadhasivam #sound-dai-cells = <0>; 78809e0db5SManivannan Sadhasivam compatible = "fsl,sgtl5000"; 79809e0db5SManivannan Sadhasivam reg = <0xa>; 80809e0db5SManivannan Sadhasivam VDDA-supply = <®_1p8v>; 81809e0db5SManivannan Sadhasivam VDDIO-supply = <®_1p8v>; 82809e0db5SManivannan Sadhasivam clocks = <&sys_mclk>; 83809e0db5SManivannan Sadhasivam }; 84809e0db5SManivannan Sadhasivam}; 85809e0db5SManivannan Sadhasivam 86809e0db5SManivannan Sadhasivam&i2c1 { 87809e0db5SManivannan Sadhasivam status = "okay"; 88809e0db5SManivannan Sadhasivam}; 89809e0db5SManivannan Sadhasivam 90*f7d48ffcSWasim Khan&pcie1 { 91ee4c12f4SManivannan Sadhasivam status = "okay"; 92ee4c12f4SManivannan Sadhasivam}; 93ee4c12f4SManivannan Sadhasivam 94809e0db5SManivannan Sadhasivam&sai2 { 95809e0db5SManivannan Sadhasivam status = "okay"; 96809e0db5SManivannan Sadhasivam}; 97809e0db5SManivannan Sadhasivam 98809e0db5SManivannan Sadhasivam&sata { 99809e0db5SManivannan Sadhasivam status = "okay"; 100809e0db5SManivannan Sadhasivam}; 101