I'm building my own device tree based off the am335x-evm.dts and there are a bunch of nodes I want to get rid of (as they're not applicable). My platform doesn't use WiFi, Bt, volume keys or sound, NAND flash and a few other things that are in the EVM's device tree. So I wanted to pull a bunch of nodes but first I'd like confirmation that:
1) I'm under the impression I can rip out what I want to, but is that safe or should each node be looked at carefully and settings changed to a "dormant" state instead of simply removing it?
2) Several nodes have both a "sleep" and a "default" state. Our product will not be going to sleep, it will simply be on or off. Given this, can all "sleep" pin mux configurations be ripped out?
3) Below is the list I'd like to remove, could I please get confirmation that each node is what I think it is?
volume_keys_s0: volume_keys_s0 - volume key settings for the EVM
clkout2_pin: pinmux_clkout2_pin - This is the clock output for the HDMI transceiver
nandflash_pins_default: nandflash_pins_default - the pin settings for the NAND flash interface
mmc2_pins: pinmux_mmc2_pins - MMC2 pins (we only will use MMC0)
wlan_pins: pinmux_wlan_pins - wireless lan pin settings
elm: elm@48080000 - error location module settings (used for NAND)
gpmc: gpmc@50000000 - General purpose memory controler (used for NAND)
wlan_en_reg: fixedregulator@2 - Power setup for wireless LAN
wlcore - More wireless lan set up
btwilink - Bluetooth set up node
mmc3 - MMC3 setup, I think it's just used for the wireless LAN
edma - I'm not sure if I need to keep this node or not, it's being used by the mmc3 node (which we don't need) so my gut tells me we can remove it, but is it required if we want to use EDMA for other reasons?
4) Last question, There are two nodes that I do not know what they do
lis3_reg: fixedregulator@1 - can't find this anywhere...
kim - I can't find this in schamice or the TRM, but looking online I think it has something to do with BT and interconnections.