1#
2# Copyright (C) 2018 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# The modem image is mounted at /vendor/firmware_mnt
18firmware_directories /vendor/firmware_mnt/image/
19
20# the DIAG device node is not world writable/readable.
21/dev/diag                 0660   system     diag
22
23/dev/wlan                 0666   system     system
24/dev/kgsl-3d0             0666   system     system
25/dev/ion                  0664   system     system
26/dev/rtc0                 0660   system     system
27/dev/smd7                 0660   bluetooth  bluetooth
28/dev/ipa                  0660   system     radio
29/dev/wwan_ioctl           0660   system     radio
30/dev/ipaNatTable          0660   system     radio
31/dev/rmnet_ctrl           0660   usb        usb
32/dev/ipa_odl_ctl          0660   radio      radio
33/dev/ipa_adpl             0660   system     oem_2905
34
35#permissions for CSVT
36/dev/smd11                0660   radio      radio
37
38/dev/smdcntl8             0640   radio      radio
39/dev/at_usb0              0640   radio      radio
40/dev/at_mdm0              0640   radio      radio
41
42/dev/video*               0660   system     camera
43/dev/media*               0660   system     camera
44/dev/v4l-subdev*          0660   system     camera
45
46/dev/qce                  0660   system     drmrpc
47/dev/qseecom              0660   system     drmrpc
48/dev/qsee_ipc_irq_spss    0660   system     drmrpc
49/dev/seemplog             0660   system     system
50/dev/spcom                0660   system     system
51/dev/sp_kernel            0660   system     system
52/dev/sp_ssr               0660   system     system
53/dev/sp_keymaster         0660   system     system
54/dev/sec_nvm_*            0660   system     system
55
56/dev/jpeg0                0660   system     camera
57/dev/adsprpc-smd          0664   system     system
58/dev/adsprpc-smd-secure   0644   system     system
59
60/dev/sdsprpc-smd          0660   system     system
61
62/dev/wcd-dsp-glink        0660   system     audio
63/dev/wcd_dsp0_control     0660   system     audio
64/dev/wcd-spi-ac-client    0660   system     audio
65/dev/iaxxx-odsp-celldrv   0660   system     audio
66/dev/tunnel0              0660   system     audio
67/dev/crashdump            0660   system     audio
68/dev/regdump              0660   system     audio
69
70/dev/msm_qcelp            0660   system     audio
71/dev/msm_evrc             0660   system     audio
72/dev/msm_wma              0660   system     audio
73/dev/msm_wmapro           0660   system     audio
74/dev/msm_alac             0660   system     audio
75/dev/msm_ape              0660   system     audio
76/dev/msm_amrnb            0660   system     audio
77/dev/msm_amrwb            0660   system     audio
78/dev/msm_amrwbplus        0660   system     audio
79/dev/msm_aac              0660   system     audio
80/dev/msm_mp3*             0660   system     audio
81/dev/msm_multi_aac        0660   system     audio
82/dev/msm_aac_in           0660   system     audio
83/dev/msm_qcelp_in         0660   system     audio
84/dev/msm_evrc_in          0660   system     audio
85/dev/msm_amrnb_in         0640   system     audio
86/dev/msm_a2dp_in          0660   system     audio
87/dev/msm_ac3              0660   system     audio
88/dev/msm_audio_cal        0660   system     audio
89/dev/msm_hweffects        0660   system     audio
90/dev/msm_rtac             0660   system     audio
91/dev/msm_cirrus_playback  0660   system     audio
92
93/dev/i2c-5                0660   media      media
94/dev/avtimer              0660   system     audio
95
96/dev/uio0                 0660   system     system
97/dev/uio1                 0660   system     system
98
99# SSR devices
100/dev/subsys_*             0640   system     system
101
102# Ramdump devices
103/dev/ramdump_*            0640   system     system
104
105# Citadel
106/dev/citadel0             0660    hsm         hsm
107
108# Storage: for factory reset protection feature
109/dev/block/platform/soc/1d84000.ufshc/by-name/frp       0660   system     system
110
111# fuel gauge history
112/dev/maxfg_history        0644   system system
113
114# BT
115/dev/ttyMSM0              0600   bluetooth  bluetooth
116/dev/ttyHS0               0660   bluetooth  net_bt
117/dev/btpower              0660   bluetooth  net_bt
118
119# NFC
120/dev/st21nfc              0660   nfc    nfc
121
122#eSE device
123/dev/st54j_se             0660   secure_element secure_element
124
125# Airbrush
126/dev/ab_sm                0600   vendor_airbrush vendor_airbrush
127
128# TPU
129/dev/abc-pcie-tpu_0       0660   system system
130
131# Face Authentication
132/dev/faceauth             0660   system system
133
134# IPU
135/dev/ipu                  0666   cameraserver camera
136
137# AB DRAM
138/dev/ab-dram              0666   cameraserver camera
139
140# ABC PCIE DMA
141/dev/abc-pcie-dma         0666   cameraserver camera
142
143# Resume-on-Reboot
144/dev/access-kregistry     0660   system system
145
146# Input
147/sys/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.2.auto/usb1/1-1/*/*/leds/* brightness 0660 system system
148/sys/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.2.auto/usb1/1-1/*/*/leds/* multi_intensity 0660 system system
149
150# pixelstats
151/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,usb-pdphy@1700/usbpd0/typec/port0/port0-partner identity/id_header 0444 system system
152/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,usb-pdphy@1700/usbpd0/typec/port0/port0-partner identity/product 0444 system system
153
154#KGSL
155/sys/class/kgsl/kgsl-3d0    perfcounter              0660    root    shell
156