Freescale i.MX6 ULL 14x14 EVK Board Device Tree
{ 'model' = 'Freescale i.MX6 ULL 14x14 EVK Board'; 'compatible' = 'fsl,imx6ull-14x14-evk', 'fsl,imx6ull'; 'chosen' { 'stdout-path' = &uart1; }; 'memory' { 'reg' = <0x80000000 0x20000000>; }; 'reserved-memory' { '#address-cells' = <1>; '#size-cells' = <1>; 'ranges'; 'linux,cma' { 'compatible' = 'shared-dma-pool'; 'reusable'; 'size' = <0x14000000>; 'linux,cma-default'; }; }; 'backlight' { 'compatible' = 'pwm-backlight'; 'pwms' = <&pwm1 0 5000000>; 'brightness-levels' = <0 4 8 16 32 64 128 255>; 'default-brightness-level' = <7>; 'status' = 'okay'; }; 'pxp_v4l2' { 'compatible' = 'fsl,imx6ul-pxp-v4l2', 'fsl,imx6sx-pxp-v4l2', 'fsl,imx6sl-pxp-v4l2'; 'status' = 'okay'; }; 'regulators' { 'compatible' = 'simple-bus'; '#address-cells' = <1>; '#size-cells' = <0>; 'reg_can_3v3: regulator@0' { 'compatible' = 'regulator-fixed'; 'reg' = <0>; 'regulator-name' = 'can-3v3'; 'regulator-min-microvolt' = <3300000>; 'regulator-max-microvolt' = <3300000>; }; 'reg_usb_ltemodule: regulator@1' { 'compatible' = 'regulator-fixed'; 'regulator-name' = 'ltemodule-pwr'; 'regulator-min-microvolt' = <3800000>; 'regulator-max-microvolt' = <3800000>; 'gpios' = <&gpio5 5 GPIO_ACTIVE_HIGH>; 'enable-active-high'; 'regulator-boot-on'; }; 'reg_gpio_wifi: regulator@2' { 'compatible' = 'regulator-fixed'; 'regulator-name' = 'wifi-pwr'; 'regulator-min-microvolt' = <3300000>; 'regulator-max-microvolt' = <3300000>; 'gpios' = <&gpio1 10 GPIO_ACTIVE_LOW>; 'regulator-boot-on'; }; }; 'leds' { 'compatible' = 'gpio-leds'; 'pinctrl-names' = 'default'; 'pinctrl-0' = <&pinctrl_leds>; 'led0: cpu' { 'label' = 'cpu'; 'gpios' = <&gpio5 3 GPIO_ACTIVE_LOW>; 'default-state' = 'on'; 'linux,default-trigger' = 'heartbeat'; }; }; 'gpio-keys' { 'compatible' = 'gpio-keys'; 'pinctrl-names' = 'default'; 'user' { 'label' = 'User Button'; 'gpios' = <&gpio5 1 GPIO_ACTIVE_HIGH>; 'gpio-key,wakeup'; 'linux,code' = <KEY_1>; }; }; 'sound' { 'compatible' = 'fsl,imx6ul-evk-wm8960', 'fsl,imx-audio-wm8960'; 'model' = 'wm8960-audio'; 'cpu-dai' = <&sai2>; 'audio-codec' = <&codec>; 'asrc-controller' = <&asrc>; 'codec-master'; 'gpr' = <&gpr 4 0x100000 0x100000>; 'hp-det' = <3 0>; 'audio-routing' = 'Headphone Jack', 'HP_L', 'Headphone Jack', 'HP_R', 'Ext Spk', 'SPK_LP', 'Ext Spk', 'SPK_LN', 'Ext Spk', 'SPK_RP', 'Ext Spk', 'SPK_RN', 'LINPUT2', 'Mic Jack', 'LINPUT3', 'Mic Jack', 'RINPUT1', 'Main MIC', 'RINPUT2', 'Main MIC', 'Mic Jack', 'MICB', 'Main MIC', 'MICB', 'CPU-Playback', 'ASRC-Playback', 'Playback', 'CPU-Playback', 'ASRC-Capture', 'CPU-Capture', 'CPU-Capture', 'Capture'; 'status' = 'okay'; }; 'spi4' { 'compatible' = 'spi-gpio'; 'pinctrl-names' = 'default'; 'pinctrl-0' = <&pinctrl_spi4>; 'pinctrl-assert-gpios' = <&gpio5 8 GPIO_ACTIVE_LOW>; 'status' = 'okay'; 'gpio-sck' = <&gpio5 11 0>; 'gpio-mosi' = <&gpio5 10 0>; 'cs-gpios' = <&gpio5 7 0>; 'num-chipselects' = <1>; '#address-cells' = <1>; '#size-cells' = <0>; 'gpio_spi: gpio_spi@0' { 'compatible' = 'fairchild,74hc595'; 'gpio-controller'; '#gpio-cells' = <2>; 'reg' = <0>; 'registers-number' = <1>; 'registers-default' = /bits/ 8 <0x57>; 'spi-max-frequency' = <10000>; }; }; 'sii902x_reset: sii902x-reset' { 'compatible' = 'gpio-reset'; 'reset-gpios' = <&gpio_spi 1 GPIO_ACTIVE_LOW>; 'reset-delay-us' = <100000>; '#reset-cells' = <0>; 'status' = 'okay'; }; 'myled' { 'compatible' = '100ask,leddrv'; 'pinctrl-names' = 'default'; 'pinctrl-0' = <&myled_for_gpio_subsys>; 'led-gpios' = <&gpio5 3 GPIO_ACTIVE_LOW>; };
原文地址: https://www.cveoy.top/t/topic/n5QR 著作权归作者所有。请勿转载和采集!