Solved in part (for "br-lan", "br-dmz" continue pending).
First is required compile the kernel with the option "CONFIG_BRIDGE_VLAN_FILTERING" an install the package "ip-bridge". Then is needed change UCI configuration to use "lan4", with "lan4.1" it do not work:
config interface 'lan'
option type 'bridge'
option ifname 'lan0 lan1 lan2 lan3 lan4'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
To continue enabling vlan filtering in the "br-lan" bridge:
# echo "1" > /sys/class/net/br-lan/bridge/vlan_filtering
And finally, configure the vlan as tagged in the switch port:
# bridge vlan add vid 1 dev lan4 master
Getting:
# bridge vlan
port vlan ids
lan0 1 PVID Egress Untagged
lan1 1 PVID Egress Untagged
lan2 1 PVID Egress Untagged
lan3 1 PVID Egress Untagged
lan4 1
br-lan 1 PVID Egress Untagged
veth0 1 PVID Egress Untagged
wlan1 1 PVID Egress Untagged
wlan0 1 PVID Egress Untagged
But now, How can I configure the second bridge "br-dmz" if I can't add the same interface "lan4" to two bridges and I can't use "lan4.1" and "lan4.2"?
PS: Opened bug.