H A D | octeon-platform.c | 456 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); octeon_fdt_set_phy() 461 phy = fdt_node_offset_by_phandle(initial_boot_params, phandle); octeon_fdt_set_phy() 463 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); octeon_fdt_set_phy() 466 alt_phy = fdt_node_offset_by_phandle(initial_boot_params, alt_phandle); octeon_fdt_set_phy() 473 fdt_nop_property(initial_boot_params, eth, "phy-handle"); octeon_fdt_set_phy() 475 fdt_nop_property(initial_boot_params, eth, "cavium,alt-phy-handle"); octeon_fdt_set_phy() 477 fdt_nop_node(initial_boot_params, phy); octeon_fdt_set_phy() 479 fdt_nop_node(initial_boot_params, alt_phy); octeon_fdt_set_phy() 489 phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL); octeon_fdt_set_phy() 491 fdt_nop_node(initial_boot_params, phy); octeon_fdt_set_phy() 492 fdt_nop_property(initial_boot_params, eth, "phy-handle"); octeon_fdt_set_phy() 493 alt_prop = fdt_get_property_w(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); octeon_fdt_set_phy() 501 fdt_nop_property(initial_boot_params, phy, "marvell,reg-init"); octeon_fdt_set_phy() 504 p = fdt_getprop(initial_boot_params, phy, "compatible", octeon_fdt_set_phy() 507 fdt_setprop_inplace(initial_boot_params, phy, octeon_fdt_set_phy() 511 reg = fdt_getprop(initial_boot_params, phy, "reg", NULL); octeon_fdt_set_phy() 515 fdt_setprop_inplace_cell(initial_boot_params, phy, "reg", phy_addr); octeon_fdt_set_phy() 519 p = fdt_get_name(initial_boot_params, phy, ¤t_len); octeon_fdt_set_phy() 521 fdt_set_name(initial_boot_params, phy, new_name); octeon_fdt_set_phy() 539 r = fdt_setprop_inplace(initial_boot_params, n, "local-mac-address", octeon_fdt_set_mac_addr() 553 phy_handle = fdt_getprop(initial_boot_params, node, "phy-handle", NULL); octeon_fdt_rm_ethernet() 556 int p = fdt_node_offset_by_phandle(initial_boot_params, ph); octeon_fdt_rm_ethernet() 558 fdt_nop_node(initial_boot_params, p); octeon_fdt_rm_ethernet() 560 fdt_nop_node(initial_boot_params, node); octeon_fdt_rm_ethernet() 571 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); octeon_fdt_pip_port() 597 iface = fdt_subnode_offset(initial_boot_params, pip, name_buffer); octeon_fdt_pip_iface() 617 if (fdt_check_header(initial_boot_params)) octeon_prune_device_tree() 620 aliases = fdt_path_offset(initial_boot_params, "/aliases"); octeon_prune_device_tree() 649 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 652 mgmt = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 658 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree() 668 pip_path = fdt_getprop(initial_boot_params, aliases, "pip", NULL); octeon_prune_device_tree() 670 int pip = fdt_path_offset(initial_boot_params, pip_path); octeon_prune_device_tree() 689 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 693 i2c = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 698 fdt_nop_node(initial_boot_params, i2c); octeon_prune_device_tree() 699 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree() 719 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 723 i2c = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 728 fdt_nop_node(initial_boot_params, i2c); octeon_prune_device_tree() 729 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree() 746 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 750 uart = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 755 fdt_setprop_inplace(initial_boot_params, octeon_prune_device_tree() 761 fdt_nop_node(initial_boot_params, uart); octeon_prune_device_tree() 762 fdt_nop_property(initial_boot_params, aliases, octeon_prune_device_tree() 768 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 782 int cf = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 828 fdt_nop_property(initial_boot_params, cf, "cavium,true-ide"); octeon_prune_device_tree() 829 fdt_nop_property(initial_boot_params, cf, "cavium,dma-engine-handle"); octeon_prune_device_tree() 832 fdt_setprop_inplace(initial_boot_params, cf, octeon_prune_device_tree() 842 fdt_setprop_inplace(initial_boot_params, cf, octeon_prune_device_tree() 845 bootbus = fdt_parent_offset(initial_boot_params, cf); octeon_prune_device_tree() 848 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree() 863 fdt_nop_node(initial_boot_params, cf); octeon_prune_device_tree() 870 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 879 int led = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 903 fdt_setprop_inplace(initial_boot_params, led, octeon_prune_device_tree() 906 bootbus = fdt_parent_offset(initial_boot_params, led); octeon_prune_device_tree() 909 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree() 919 fdt_nop_node(initial_boot_params, led); octeon_prune_device_tree() 925 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 928 int uctl = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 933 fdt_nop_node(initial_boot_params, uctl); octeon_prune_device_tree() 934 fdt_nop_property(initial_boot_params, aliases, "uctl"); octeon_prune_device_tree() 938 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); octeon_prune_device_tree() 943 alias_prop = fdt_getprop(initial_boot_params, aliases, octeon_prune_device_tree() 946 int usbn = fdt_path_offset(initial_boot_params, alias_prop); octeon_prune_device_tree() 951 fdt_nop_node(initial_boot_params, usbn); octeon_prune_device_tree() 952 fdt_nop_property(initial_boot_params, aliases, "usbn"); octeon_prune_device_tree() 960 fdt_setprop_inplace(initial_boot_params, usbn, octeon_prune_device_tree() 965 fdt_nop_property(initial_boot_params, usbn, "refclk-type"); octeon_prune_device_tree() 974 int dsr1000n_leds = fdt_path_offset(initial_boot_params, octeon_prune_device_tree() 977 fdt_nop_node(initial_boot_params, dsr1000n_leds); octeon_prune_device_tree()
|