1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2016 Andreas Färber 4 * Copyright (c) 2016 BayLibre, Inc. 5 * Author: Kevin Hilman <khilman@kernel.org> 6 */ 7 8 /dts-v1/; 9 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/meson-aiu.h> 13 14 / { 15 compatible = "amlogic,p200", "amlogic, 16 model = "Amlogic Meson GXBB P200 Devel 17 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; 20 compatible = "linux,spdif-dit" 21 sound-name-prefix = "DIT"; 22 }; 23 24 avdd18_usb_adc: regulator-avdd18-usb-a 25 compatible = "regulator-fixed" 26 regulator-name = "AVDD18_USB_A 27 regulator-min-microvolt = <180 28 regulator-max-microvolt = <180 29 }; 30 31 keys { 32 compatible = "adc-keys"; 33 io-channels = <&saradc 0>; 34 io-channel-names = "buttons"; 35 keyup-threshold-microvolt = <1 36 37 button-home { 38 label = "Home"; 39 linux,code = <KEY_HOME 40 press-threshold-microv 41 }; 42 43 button-esc { 44 label = "Esc"; 45 linux,code = <KEY_ESC> 46 press-threshold-microv 47 }; 48 49 button-up { 50 label = "Volume Up"; 51 linux,code = <KEY_VOLU 52 press-threshold-microv 53 }; 54 55 button-down { 56 label = "Volume Down"; 57 linux,code = <KEY_VOLU 58 press-threshold-microv 59 }; 60 61 button-menu { 62 label = "Menu"; 63 linux,code = <KEY_MENU 64 press-threshold-microv 65 }; 66 }; 67 68 sound { 69 compatible = "amlogic,gx-sound 70 model = "P200"; 71 clocks = <&clkc CLKID_MPLL0>, 72 <&clkc CLKID_MPLL1>, 73 <&clkc CLKID_MPLL2>; 74 75 assigned-clocks = <&clkc CLKID 76 <&clkc CLKID 77 <&clkc CLKID 78 assigned-clock-parents = <0>, 79 assigned-clock-rates = <294912 80 <270950 81 <393216 82 83 dai-link-0 { 84 sound-dai = <&aiu AIU_ 85 }; 86 87 dai-link-1 { 88 sound-dai = <&aiu AIU_ 89 }; 90 91 dai-link-2 { 92 sound-dai = <&aiu AIU_ 93 dai-format = "i2s"; 94 mclk-fs = <256>; 95 96 codec-0 { 97 sound-dai = <& 98 }; 99 }; 100 101 dai-link-3 { 102 sound-dai = <&aiu AIU_ 103 104 codec-0 { 105 sound-dai = <& 106 }; 107 }; 108 109 dai-link-4 { 110 sound-dai = <&aiu AIU_ 111 112 codec-0 { 113 sound-dai = <& 114 }; 115 }; 116 }; 117 }; 118 119 &aiu { 120 status = "okay"; 121 pinctrl-0 = <&spdif_out_y_pins>; 122 pinctrl-names = "default"; 123 }; 124 125 ðmac { 126 status = "okay"; 127 pinctrl-0 = <ð_rgmii_pins>; 128 pinctrl-names = "default"; 129 phy-handle = <ð_phy0>; 130 phy-mode = "rgmii"; 131 132 amlogic,tx-delay-ns = <2>; 133 134 mdio { 135 compatible = "snps,dwmac-mdio" 136 #address-cells = <1>; 137 #size-cells = <0>; 138 139 eth_phy0: ethernet-phy@3 { 140 /* Micrel KSZ9031 (0x0 141 reg = <3>; 142 143 reset-assert-us = <100 144 reset-deassert-us = <3 145 reset-gpios = <&gpio G 146 147 interrupt-parent = <&g 148 /* MAC_INTR on GPIOZ_1 149 interrupts = <29 IRQ_T 150 }; 151 }; 152 }; 153 154 &i2c_B { 155 status = "okay"; 156 pinctrl-0 = <&i2c_b_pins>; 157 pinctrl-names = "default"; 158 }; 159 160 &saradc { 161 status = "okay"; 162 vref-supply = <&avdd18_usb_adc>; 163 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.